public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/48811] New: error in compiling libstdc++ with -std=gnu++0x
@ 2011-04-28 19:25 vincenzo.innocente at cern dot ch
  2011-04-28 19:55 ` [Bug libstdc++/48811] " paolo.carlini at oracle dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-04-28 19:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48811

           Summary: error in compiling libstdc++ with -std=gnu++0x
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vincenzo.innocente@cern.ch


I tried to compile gcc with a subset of the  CXXFLAGS I use in my project
echo $CXXFLAGS 
-O2 -std=gnu++0x -ftree-vectorize -Wall -fvisibility-inlines-hidden
-fpermissive
I got this compilation error that may be worth fixing
libtool: compile: 
/home/data/newsoft/gcc-4.6-20110422/host-x86_64-unknown-linux-gnu/gcc/xgcc
-shared-libgcc
-B/home/data/newsoft/gcc-4.6-20110422/host-x86_64-unknown-linux-gnu/gcc
-nostdinc++
-L/home/data/newsoft/gcc-4.6-20110422/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/data/newsoft/gcc-4.6-20110422/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
-I/home/data/newsoft/gcc-4.6-20110422/libstdc++-v3/../gcc
-I/home/data/newsoft/gcc-4.6-20110422/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/data/newsoft/gcc-4.6-20110422/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/data/newsoft/gcc-4.6-20110422/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -O2
-std=gnu++0x -ftree-vectorize -Wall -fvisibility-inlines-hidden -fpermissive
-D_GNU_SOURCE -c ../../.././libstdc++-v3/libsupc++/eh_ptr.cc  -fPIC -DPIC -o
eh_ptr.o
In file included from
/home/data/newsoft/gcc-4.6-20110422/libstdc++-v3/libsupc++/exception:154:0,
                 from ../../.././libstdc++-v3/libsupc++/eh_ptr.cc:31:
/home/data/newsoft/gcc-4.6-20110422/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/exception_ptr.h:128:16:
error: expected type-specifier before '__safe_bool'
../../.././libstdc++-v3/libsupc++/eh_ptr.cc:45:51: error: expected constructor,
destructor, or type conversion before '(' token
../../.././libstdc++-v3/libsupc++/eh_ptr.cc:125:47: error: expected
type-specifier before '__safe_bool'
make[4]: *** [eh_ptr.lo] Error 1


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

end of thread, other threads:[~2011-05-23 16:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 19:25 [Bug libstdc++/48811] New: error in compiling libstdc++ with -std=gnu++0x vincenzo.innocente at cern dot ch
2011-04-28 19:55 ` [Bug libstdc++/48811] " paolo.carlini at oracle dot com
2011-04-30 19:25 ` redi at gcc dot gnu.org
2011-04-30 19:55 ` paolo.carlini at oracle dot com
2011-04-30 20:04 ` redi at gcc dot gnu.org
2011-04-30 23:26 ` paolo.carlini at oracle dot com
2011-05-23 16:13 ` paolo.carlini at oracle dot com

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).