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

MacPorts noreply at macports.org
Thu Apr 17 21:34:55 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
Resolution:                |   Keywords:  leopard
      Port:  clang-3.4     |
---------------------------+------------------------

Comment (by ryandesign@…):

 Replying to [comment:3 jeremyhu@…]:
 > Odd.  This is on Leopard?  I see '-mmacosx-version-min=10.6' ...

 Yes, it's Leopard. Yes, it says 10.6 on that line. Other lines say 10.5 or
 10.4.

 Replying to [comment:7 jeremyhu@…]:
 > Take the compilation line, replace the -c with -E and change the output
 file (argument of -o) to ~/Desktop/thing_to_attach.
 > Run the command from the appropriate directory within the workdir.
 > You will likely get errors that certain arguments are not valid with -E,
 remove them and try again.
 > Attach the result.

 I've attached the file. It contains this line:

 {{{
 typedef char assertion_failed__839[2*(int)(sizeof(((__sanitizer_dirent *)
 __null)->d_ino) == sizeof(((dirent *) __null)->d_ino))-1]; typedef char
 assertion_failed__839[2*(int)(__builtin_offsetof(__sanitizer_dirent,
 d_ino) == __builtin_offsetof(dirent, d_ino))-1];
 }}}

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


More information about the macports-tickets mailing list