Subject: errors building libg++
To: None <current-users@NetBSD.ORG>
From: Jon Buller <jonb@metronet.com>
List: current-users
Date: 11/15/1996 22:47:29
SUPed sources on November 8, did a make includes, cd share;make
install, make cleandirs, make depend, make, make install, then make
again. It stopped here, and I tried reinstalling a few things and
rebuilding a few things to no avail.

I know there's a trick to this, I think I even ran into it (or
something real similar) with -current just after 1.1 or perhaps
halfway between 1.1 and 1.2  I just can't remember what the trick
to getting this to compile is...  (libgroff has similar problems,
but EVERYTHING else builds fine.)

g++ -O -I/usr/src/gnu/lib/libg++/libg++/src -I/usr/src/gnu/lib/libg++/libg++/src/../../libio -Werror -nostdinc++ -I/usr/src/gnu/lib/libg++/libg++/src/../../include  -I/usr/src/gnu/lib/libg++/libg++/src/../../libio -I/usr/src/gnu/lib/libg++/libg++/src/../../libstdc++  -c AllocRing.cc
cc1 warnings being treated as errors
In file included from /usr/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/cstdlib.h:6,
                 from /usr/src/gnu/lib/libg++/libg++/src/../../libstdc++/cstdlib:5,
                 from /usr/src/gnu/lib/libg++/libg++/src/std.h:24,
                 from AllocRing.cc:22:
/usr/include/stdlib.h:88: warning: declaration of `volatile void abort()'
/usr/include/stdlib.h:88: warning: conflicts with built-in declaration `void abort()'
/usr/include/stdlib.h:98: warning: declaration of `volatile void exit(int)'
/usr/include/stdlib.h:98: warning: conflicts with built-in declaration `void exit(int)'
In file included from /usr/src/gnu/lib/libg++/libg++/src/std.h:26,
                 from AllocRing.cc:22:
/usr/include/unistd.h:54: warning: declaration of `volatile void _exit(int)'
/usr/include/unistd.h:54: warning: conflicts with built-in declaration `void _exit(int)'
*** Error code 1

Stop.