public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* RHUG compile-time failure
@ 2002-10-29  8:16 Nicholas Wourms
  2002-10-30 18:21 ` Anthony Green
  0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Wourms @ 2002-10-29  8:16 UTC (permalink / raw)
  To: rhug-rhats

Hi,

I'm not sure if this is a gcj problem or something with the 
sources, but using:

gcc version 3.2.1 20021025 (prerelease)

I get the following error during the build process:
make[1]: Entering directory `/usr/src/projects/rhug/rhug/rhino'
gcj -C --encoding=UTF-8 --classpath=./upstream/src -d 
upstream/src upstream/src/org/mozilla/javascript/LineBuffer.java
upstream/src/org/mozilla/javascript/LineBuffer.java:455: 
Incompatible type for `&&'. Can't convert `int' to boolean.
        private static final boolean checkSelf = 
Context.check && true;
                                                             ^
1 error
make[1]: *** 
[upstream/src/org/mozilla/javascript/LineBuffer.class] Error 1
make[1]: Leaving directory `/usr/src/projects/rhug/rhug/rhino'
make: *** [all-recursive] Error 1

This is on a kernel-2.4.19 system (generic) running the 
latest in the various packages required to compile RHUG. 
Let me know if you need anymore information.

Cheers,
Nicholas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RHUG compile-time failure
  2002-10-29  8:16 RHUG compile-time failure Nicholas Wourms
@ 2002-10-30 18:21 ` Anthony Green
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Green @ 2002-10-30 18:21 UTC (permalink / raw)
  To: Nicholas Wourms; +Cc: rhug-rhats

On Tue, 2002-10-29 at 08:15, Nicholas Wourms wrote:
> I get the following error during the build process:
> make[1]: Entering directory `/usr/src/projects/rhug/rhug/rhino'
> gcj -C --encoding=UTF-8 --classpath=./upstream/src -d 
> upstream/src upstream/src/org/mozilla/javascript/LineBuffer.java
> upstream/src/org/mozilla/javascript/LineBuffer.java:455: 
> Incompatible type for `&&'. Can't convert `int' to boolean.
>         private static final boolean checkSelf = 
> Context.check && true;

IIRC, this is a problem with that version of the compiler.  Try using
the latest development version.

AG


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-31  2:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29  8:16 RHUG compile-time failure Nicholas Wourms
2002-10-30 18:21 ` Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).