This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

compiling libstdc++ 2.8.1, libio exceptions


I found a post from the deja archives  with someone with my  exact
question .  In the spirit of re-use...


Hello,
                    I have gcc-2.8.1 and am trying to build
libstdc++-2.8.1.1. I have linux kernel
                    2.2.5, glibc2.1.1pre1. It gets into libio and does
the following...

                      c++ -c -O2 -g -fvtable-thunks
-fno-implicit-templates -I. -I../../../libio
                    -nostdinc++ -D_IO_MTSAFE_IO -fpic
../../../libio/builtinbuf.cc -o
                    pic/builtinbuf.o
                    In file included from ../../../libio/streambuf.h:36,

                                    from ../../../libio/builtinbuf.h:32,

                                    from
../../../libio/builtinbuf.cc:29:
                    ../../../libio/libio.h:270: invalid exception
specifications
                    ../../../libio/libio.h:271: invalid exception
specifications
                    ../../../libio/libio.h:272: invalid exception
specifications
                    ../../../libio/libio.h:273: invalid exception
specifications
                    In file included from ../../../libio/iostreamP.h:26,

                                    from
../../../libio/builtinbuf.cc:30:
                    ../../../libio/libioP.h:94: invalid exception
specifications
                    ../../../libio/libioP.h:100: invalid exception
specifications
                    ../../../libio/libioP.h:107: invalid exception
specifications
                    ../../../libio/libioP.h:119: invalid exception
specifications

                    followed by more of the same.

                    Any clues? The lines it complains about don't seem
to have anyhting to do
                    with exceptions...


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