This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]