[MacPorts] #43353: clang-3.4: error: 'assertion_failed__839' declared as an array with a negative size

MacPorts noreply at macports.org
Sun Apr 13 22:26:30 PDT 2014


#43353: clang-3.4: error: 'assertion_failed__839' declared as an array with a
negative size
--------------------------+------------------------
 Reporter:  ryandesign@…  |      Owner:  jeremyhu@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:  leopard       |       Port:  clang-3.4
--------------------------+------------------------
 clang-3.4 fails to build for me on Leopard i386. This is the first error:

 {{{
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects
 /compiler-
 rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:839:1: error:
 'assertion_failed__839' declared as an array with a negative size
 CHECK_SIZE_AND_OFFSET(dirent, d_ino);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects
 /compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:984:3:
 note: expanded from macro 'CHECK_SIZE_AND_OFFSET'
   COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == \
 --
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects
 /compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:257:57: note:
 expanded from macro 'IMPL_COMPILER_ASSERT'
     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
                                                         ^~~~~~~~~~~~~~~
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43353>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list