IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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)

IMG_0500.JPG (620.3 KB ) - added by heather 15 years ago.
test

Download all attachments as: .zip

Change History (5)

comment:1 by eugene, 16 years ago

Component: buildxml

comment:2 by eugene, 16 years ago

Component: xmlOhana

comment:3 by eugene, 16 years ago

Status: newassigned

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?

by heather, 15 years ago

Attachment: IMG_0500.JPG added

test

comment:4 by heather, 15 years ago

test

this was just a test to see if I could attach a picture.

Note: See TracTickets for help on using tickets.