diff options
author | dim <dim@FreeBSD.org> | 2014-11-19 07:44:21 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-11-19 07:44:21 +0000 |
commit | f38628840cd05515326dff20b71bf5c470d2a420 (patch) | |
tree | f5b19d559a24e75d25efeea0133b22f5dda364cf /lib/libc/stdlib/hcreate.c | |
parent | 20ccdec72935aae0b11b16368a20fd64aa92a40a (diff) | |
download | FreeBSD-src-f38628840cd05515326dff20b71bf5c470d2a420.zip FreeBSD-src-f38628840cd05515326dff20b71bf5c470d2a420.tar.gz |
Fix the following -Werror warning from clang 3.5.0, while building cddl/lib/libctf:
In file included from cddl/contrib/opensolaris/common/ctf/ctf_create.c:31:
In file included from sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h:34:
sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h:334:9: warning: '_ILP32' macro redefined [-Wmacro-redefined]
#define _ILP32
^
<built-in>:26:9: note: previous definition is here
#define _ILP32 1
^
1 warning generated.
This is because clang 3.5.0 started predefining _ILP32 and __ILP32__ for
the i386 arch. (Earlier versions already predefined _LP64 and __LP64__
for the x86_64 arch.)
Reviewed by: emaste, avg, smh, delphij, markj
Differential Revision: https://reviews.freebsd.org/D1187
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions