------- Comment #14 from davek at gcc dot gnu dot org 2010-01-27 12:36 ------- (In reply to comment #12) > on all the targets, working fine without including any header. Can you compile > something as simple as this: > > char16_t a; > > with -std=c++0x (or -std=gnu++0x)?
This is from head r.156219 $ cat test.cpp char16_t a; dkad...@ubik /tmp/boost $ g++-4 -std=c++0x -c test.cpp ; echo $? 0 dkad...@ubik /tmp/boost $ g++-4 -v Using built-in specs. COLLECT_GCC=g++-4 COLLECT_LTO_WRAPPER=/gnu/gcc/install-lto/opt/gcc-tools/bin/../libexec/gcc/i686-p c-cygwin/4.5.0/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /gnu/gcc/gcc/configure --prefix=/opt/gcc-tools -v --with-gmp=/u sr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs -- enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --wi th-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --disable-symver s --enable-libjava --enable-interpreter --program-suffix=-4 --enable-libgomp --d isable-libssp --disable-libada --enable-threads=posix --with-arch=i686 --with-tu ne=generic CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 --with-ec j-jar=/usr/share/java/ecj.jar --disable-win32-registry --disable-libgcj-debug -- enable-lto --enable-languages=c,c++,fortran,java,lto,objc,obj-c++ --enable-graph ite Thread model: posix gcc version 4.5.0 20100121 (experimental) (GCC) dkad...@ubik /tmp/boost $ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42880