Opened 17 years ago
Last modified 15 years ago
#1324 assigned defect
latest Xcode for mac 10.5 breaks building of IPP
| Reported by: | heather | Owned by: | heather |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Ohana | Version: | current |
| Severity: | normal | Keywords: | mac |
| Cc: |
Description
building the ipp (svn 25223) with the latest version of Xcode (version 3.1.3 )
causes this error:
In file included from /usr/X11/include/X11/Xlib.h:64,
from /Users/hswan/bin/default.darwin_x86/include/kapa.h:10,
from pmKapaPlots.h:23,
from pmKapaPlots.c:20:
/usr/X11/include/X11/Xosdefs.h:145:1: error: "_DARWIN_C_SOURCE" redefined
<command line>:1:1: error: this is the location of the previous definition
make[3]: * [libpsmodulesextras_la-pmKapaPlots.lo] Error 1
make[2]: * [all-recursive] Error 1
make[1]: * [all] Error 2
make: * [all-recursive] Error 1
_DARWIN_C_SOURCE is now defined in /usr/X11/include/X11/Xosdefs.h, previously it was not.
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
| Component: | build → xml |
|---|
comment:2 by , 16 years ago
| Component: | xml → Ohana |
|---|
comment:3 by , 16 years ago
| Status: | new → assigned |
|---|

how was _DARWIN_C_SOURCE being placed on the command line?
do we have a solution that works for both the old and new versions of Xcode?