Is include/c_compatibility still useful?!?

Paolo Carlini pcarlini@suse.de
Tue Sep 21 17:37:00 GMT 2004


>> Anyway, I'm 'triple' checking right now, but it seems that the build 
>> with --enable-cheaders=c
>> is currently *broken* in mainline, on linux x86/x86-64 at least... 
>> :-( Can you look into it, at
>> least to confirm?
>
> I can now confirm the above: interestingly, the build fails in 
> libsupc++ already...

Sorry, actually it fails building the precompiled headers

Paolo.

In file included from 
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_algobase.h:69,
                 from 
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/algorithm:66,
                 from 
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/include/stdc++.h:51:
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/libsupc++/new:82: 
error: declaration of `operator new' as non-function
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/libsupc++/new:82: 
error: `size_t' is not a member of `std'
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/libsupc++/new:82: 
error: expected `,' or `;' before "throw"
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/libsupc++/new:83: 
error: declaration of `operator new []' as non-function
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/libsupc++/new:83: 
error: `size_t' is not a member of `std'
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/libsupc++/new:83: 
error: expected `,' or `;' before "throw"
/home/paolo/Gcc/cvs-dirs/gcc-3_4-branch/gcc/libstdc++-v3/libsupc++/new:86: 
error: declaration of `operator new' as non-function
...
...
...
...



More information about the Libstdc++ mailing list