[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 22:31:23 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 jeremyhu@…):
This is bizarre. You've got __DARWIN_64_BIT_INO_T defined to 0, but
_DARWIN_NO_64_BIT_INODE is not defined.
The reason is your cdefs.h:
{{{
289 #if !defined(__DARWIN_64_BIT_INO_T)
290 # if defined(_DARWIN_USE_64_BIT_INODE)
291 # define __DARWIN_64_BIT_INO_T 1
292 # elif defined(_DARWIN_NO_64_BIT_INODE) || defined(KERNEL)
293 # define __DARWIN_64_BIT_INO_T 0
294 # else /* default */
295 # define __DARWIN_64_BIT_INO_T 0
296 # endif
297 #endif /* !__DARWIN_64_BIT_INO_T */
}}}
The default is setting __DARWIN_64_BIT_INO_T to 0.
My /usr/include/sys/cdefs.h has:
{{{
#if !defined(__DARWIN_64_BIT_INO_T)
# if defined(_DARWIN_USE_64_BIT_INODE)
# define __DARWIN_64_BIT_INO_T 1
# elif defined(_DARWIN_NO_64_BIT_INODE) || defined(KERNEL)
# define __DARWIN_64_BIT_INO_T 0
# else /* default */
# define __DARWIN_64_BIT_INO_T 1
# endif
#endif /* !__DARWIN_64_BIT_INO_T */
}}}
--
Ticket URL: <https://trac.macports.org/ticket/43353#comment:16>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list