This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "declaration does not declare anything"?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]