Subject: weird cross-compiling error
To: None <current-users@netbsd.org>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: current-users
Date: 08/11/1998 17:18:57
I'm using the experimental powerpc crosscompiling package, and getting a
strange error compiling src/gnu/lib/libg++/libg++/src/ACG.cc:

/usr/pkg/bin/powerpc-netbsd-g++ -O  -Werror -nostdinc++ -I/y2/cur.build/src/gnu/
lib/libg++/libg++/src/../../include -I/y2/cur.build/src/gnu/lib/libg++/libg++/s
rc/../../libio -I/y2/cur.build/src/gnu/lib/libg++/libg++/src/../../libstdc++  -I
/y2/cur.build/src/gnu/lib/libg++/libg++/src -I/y2/cur.build/src/gnu/lib/libg++/l
ibg++/src/../../libio -nostdinc -idirafter /altroot_macppc//usr/include -c /y2/c
ur.build/src/gnu/lib/libg++/libg++/src/ACG.cc
cc1plus: warnings being treated as errors
/y2/cur.build/src/gnu/lib/libg++/libg++/src/ACG.cc:175: warning: decimal integer
 constant is so large that it is unsigned
*** Error code 1

Here's the line in question:

static const _G_uint32_t LC_C = 3907864577;

Seems to me that the constant is SUPPOSED to be unsigned.

Is this a "wait for egcs-1.1" thing? Or is there some way I can tell the
silly compiler that it's supposed to be an unsigned constant.

Take care,

Bill