bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using namespace std; needed in tagdemo


From: Peter O'Gorman
Subject: Re: using namespace std; needed in tagdemo
Date: Fri, 03 Sep 2004 00:39:43 +0900
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Bob Friesenhahn wrote:

Compilers which do not support namespaces at all will be sunk. GCC has supported namespaces for quite a while now (since the early egcs days) but since libstdc++ implementation lagged, it defaulted to making std:: the same as global scope. That means your code would compile.

I have had C++ open source software deployed since 1998 and the only problems I encountered with namespaces is with accidentially writing code which did not respect them (due to primarily using GCC).

So, in my opinion, it is safe to use these standard C++ features.


Typically enough I am unable to reproduce the failure when I try again. I think I'll have to remove all the accumulated crap from my libtool dir :/

Thanks Bob,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]