This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
"declaration does not declare anything"?
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 10 Dec 2001 13:31:34 -0500
- Subject: "declaration does not declare anything"?
- Organization: Myself
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