Hi,
I have outcommented all JAVA related lines in common.make, and now I see
(again) this 'behaviour' when compiling AutoDoc (using a recent snapshot of
GNUstep):
In file included from /usr/GNUstep/System/Headers/gnustep/Foundation/NSScanner.h:27,
from NSScanner+MiscMerge.h:14,
from NSScanner+MiscMerge.m:14:
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:55: parse error before
`BOOL'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:55: warning: no semicolon
at end of struct or union
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:56: warning: type defaults
to `int' in declaration of `validNumber'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:56: warning: data
definition has no type or storage class
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:58: parse error before `}'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:58: warning: type defaults
to `int' in declaration of `NSDecimal'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:58: warning: data
definition has no type or storage class
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:61: parse error before
`NSDecimalIsNotANumber'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:61: warning: type defaults
to `int' in declaration of `NSDecimal'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:61: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:62: warning: return-type
defaults to `int'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h: In function
`NSDecimalIsNotANumber':
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:63: `decimal' undeclared
(first use in this function)
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:63: (Each undeclared
identifier is reported only once
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:63: for each function it
appears in.)
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:63: `NO' undeclared (first
use in this function)
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:64: warning: control
reaches end of non-void function
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h: At top level:
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:66: syntax error before
`void'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:67: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:69: syntax error before
`void'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:70: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:72: parse error before
`NSComparisonResult'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:73: warning: type defaults
to `int' in declaration of `NSDecimal'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:73: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:73: warning: type defaults
to `int' in declaration of `NSDecimalCompare'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:73: warning: data
definition has no type or storage class
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:75: syntax error before
`void'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:76: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:78: syntax error before
`NSCalculationError'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:79: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:81: syntax error before
`NSCalculationError'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:82: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:84: syntax error before
`NSCalculationError'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:85: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:87: syntax error before
`NSCalculationError'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:88: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:90: syntax error before
`NSCalculationError'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:91: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:93: syntax error before
`NSCalculationError'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:94: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:96: syntax error before
`NSCalculationError'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:97: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:99: parse error before
`NSString'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:100: warning: type defaults
to `int' in declaration of `NSDecimal'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:100: parse error before `*'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:100: warning: type defaults
to `int' in declaration of `NSDecimalString'
/usr/GNUstep/System/Headers/gnustep/Foundation/NSDecimal.h:100: warning: data
definition has no type or storage class
In file included from NSScanner+MiscMerge.h:14,
from NSScanner+MiscMerge.m:14:
/usr/GNUstep/System/Headers/gnustep/Foundation/NSScanner.h:94: parse error before
`NSDecimal'
make[4]: *** [shared_obj/ix86/linux-gnu/gnu-gnu-gnu-xgps/NSScanner+MiscMerge.o] Error 1
make[3]: *** [MiscMerge.build] Error 2
make[2]: *** [MiscMerge.all.subproj.variables] Error 2
make[1]: *** [autodoc.build] Error 2
make: *** [autodoc.all.tool.variables] Error 2
This is with the b7 of AutoDoc. In NSDecimal I cannot see anything strange,
though...?!
On Thu, 07 Sep 2000, you wrote:
>
> It's a bug. Try the enclosed patch to common.make and see if it works.
Nope:
/usr/GNUstep/System/Makefiles/common.make:359: *** Recursive variable `JAVAC'
references itself (eventually). Stop.
Sorry,
sweet dreams, Phil
--
Philippe C.D. Robert | http://www.iam.unibe.ch/~robert/
Research Group on Computational Geometry and Graphics
Institute of Computer Science and Appl. Mathematics (IAM), Office 205
Neubrueckstrasse 10, CH-3012 Bern Switzerland, phone: +41 31 6313321