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]

Re: help- URGENT build errors while using gcc



> 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.


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