IMP:GNU extensions on gcc 3.2
Sayali Surve
ssurve@versant.com
Mon Jan 13 10:05:00 GMT 2003
Hello,
I have upgraded gcc version from 2.96 to gcc 3.2.
I have got following queries:
1. I am using a C++ front end compiler which does not support GNU
extensions.
Hence, the compilation flags -U__GNUC__, -U__GNUG__ are used.
But, it gives me following errors which I think, should not be seen at
all
as we are undefining the GNUC flags:
"/usr/local/gcc.3.2/include/c++/3.2/bits/concept_check.h", line 52:
error:
expected an identifier
#define __glibcpp_function_requires(...)
^
"/usr/local/gcc.3.2/include/c++/3.2/bits/stl_alloc.h", line 928: error:
invalid combination of type specifiers
extern template class allocator<char>;
How can I get rid of the above errors ?? Please note that
I do not want to use GNU extensions at all.
2. Where are the built-in functions e.g. __builtin_strstr,
__builtin_strpbrk etc.
are defined??
Is there any way or any flag so as to not include built-in functions??
Please help...
Thanking you,
Sayali Surve
More information about the Gcc-help
mailing list