"declaration does not declare anything"?

Adam Megacz gcj@lists.megacz.com
Mon Dec 10 11:22:00 GMT 2001


Tom Tromey <tromey@redhat.com> writes:
> Adam> Relevant source lines:
> Adam> static const jint MAX_PRIORITY = 10L;
> Adam> static const jint MIN_PRIORITY = 1L;
> Adam> static const jint NORM_PRIORITY = 5L;

> I'm guessing some #include defines MIN_PRIORITY and MAX_PRIORITY.
> There are a few plausible ways to fix this. One would be to add a new
> rule for the header to Makefile.am which adds a -prepend to #undef the
> symbols.

Good call; that was the problem. Thanks!
 - a


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /