"declaration does not declare anything"?
Adam Megacz
gcj@lists.megacz.com
Mon Dec 10 10:30:00 GMT 2001
Hrm, I've never seen this before... can anybody give me a hint as to
what the compiler is trying to tell me? This seems to only show up
when crosscompiling...
Spewage:
java/lang/Thread.h:69: declaration does not declare anything
java/lang/Thread.h:69: storage class specified for typename
java/lang/Thread.h:69: parse error before numeric constant
java/lang/Thread.h:70: declaration does not declare anything
java/lang/Thread.h:70: storage class specified for typename
java/lang/Thread.h:70: parse error before numeric constant
Relevant source lines:
static const jint MAX_PRIORITY = 10L;
static const jint MIN_PRIORITY = 1L;
static const jint NORM_PRIORITY = 5L;
Kinda strange that the compiler barfs on MAX_PRIORITY and MIN_PRIORITY
but not NORM_PRIORITY, eh?
- a
More information about the Java
mailing list