This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
IMP:GNU extensions on gcc 3.2
- From: Sayali Surve <ssurve at versant dot com>
- To: gcc-help at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, gcc at gnu dot org
- Date: Mon, 13 Jan 2003 15:34:14 +0530
- Subject: IMP:GNU extensions on gcc 3.2
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