This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: help- URGENT build errors while using gcc
- To: meradix at hotmail dot com (Radhika Shenoy)
- Subject: Re: help- URGENT build errors while using gcc
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Tue, 24 Jul 2001 08:39:48 -0700 (PDT)
- Cc: jbuck at synopsys dot com, mrs at windriver dot com, gcc at gcc dot gnu dot org
> I did find a workaround for the collision, by using #undef for stl pair and
> set, Though i was wondering why the pair definition for stl pair got
> included when i had not used the std:: namespace;
Because, in 2.95.2 the standard library is not in std, but is in the
global namespace.
> That was a doubt which i was hoping that you would help me clear and you did
> thanks, are you saying that if i had used the gcc 3.0 compiler the compiler
> would not have reported this as an error?
In 3.0, the standard library *is* in the global namespace.