Hi all,
Responding to my own postting ...
I am trying to build the latest GNustep/Etoule tree on Soalris 10 and
am encountering the following error at several places inthe Etoile 0.2
tree:
Making all in TRXML...
make[4]: Entering directory
`/src/Etoile-0.2/Services/User/Jabber/TRXML'
Making all for library TRXML...
Compiling file TRXMLNode.m ...
In file included from
/opt/GNUstep/System/Library/Headers/Foundation/NSString.h:30,
from
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:31,
from
/opt/GNUstep/System/Library/Headers/Foundation/NSAffineTransform.h:33,
from
/opt/GNUstep/System/Library/Headers/Foundation/Foundation.h:38,
from TRXMLNode.h:9,
from TRXMLNode.m:9:
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h: In function
`NSUnionRange':
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:184: warning:
implicit declaration of function `typeof'
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:184: error:
parse error before "_MIN_a"
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:184: error:
parse error before "_MIN_b"
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:184: error:
`_MIN_a' undeclared (first use in this function)
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:184: error:
(Each undeclared identifier is reported only once
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:184: error:
for each function it appears in.)
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:184: error:
`_MIN_b' undeclared (first use in this function)
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:185: error:
parse error before "_MAX_a"
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:185: error:
parse error before "_MAX_b"
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:185: error:
`_MAX_a' undeclared (first use in this function)
/opt/GNUstep/System/Library/Headers/Foundation/NSRange.h:185: error:
`_MAX_b' undeclared (first use in this function)
I checked all the given files but have no idea what could be wrong
here. I am stuck! Anyone else had thi sproblem or knows what gcc is
tryingto tell me?
Replacing all occurances of typeof in the following files
pico /src/core/base/Headers/Additions/GNUstepBase/preface.h
pico /src/core/base/Headers/Foundation/NSRange.h
pico /src/core/base/Headers/Foundation/NSGeometry.h
with __typeof__ and reinstalling base seems to fix the problem!?
Regards,
Andreas
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep