long long, C++ testsuite and -ansi -pedantic-errors

H . J . Lu hjl@valinux.com
Mon Jun 12 10:23:00 GMT 2000


With my libstdc++ v3 "make check" patch, I got some many failures
like

In file included from /work/gnu/src/gcc-3.0/egcs/libstdc++-v3/bits/std_iostream.h:38,^M
                 from
		 /work/gnu/src/gcc-3.0/egcs/libstdc++-v3/backward/iostream.h:32,^M
                  from /work/gnu/src/gcc-3.0/egcs/gcc/testsuite/g++.old-deja/g++.brendan/copy9.C:2:^M
/work/gnu/src/gcc-3.0/egcs/libstdc++-v3/bits/std_ostream.h:128: ISO C++ does not support `long long'^M 

It is caused by -ansi -pedantic-errors and long long. What should we
do about it?


-- 
H.J. Lu (hjl@gnu.org)


More information about the Gcc mailing list