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

Re: GCC



On Fri, Feb 20, 2004 at 09:40:07PM +0100, John L Fjellstad wrote:
> The old <stdlib.h> will still be available in the C++ standard, but the
> functions and variables won't be in the std namespace.

I really must read up more on the namespace feature and why I'd
want to change the standard namespace. Googling around I find a 
1998 email that reports pre-standard C++ will soon die. In 2004
I see the Mozilla coding standard recommend against using the 
namespace feature because it is not implemented well on all C++ 
compilers that they use.  Six years have past and the standard
C++ is still not embedded where it counts - in the compilers.

A standards committee out of touch with the compiler makers?
Compiler writers can't sell new copies of the compiler based
on the usefulness of namespace.  Users won't upgrade because
the namespace feature is not worth the upgrade cost.  GNU
glosses over the .h issue by creating a sans .h wrapper file
for the .h file.

As far as I can tell, we have to stop using the .h files so
we can use a feature that we probably don't need and may not
even be supported in our compiler.

-- 
Mike

Two hundred years ago, we note mischievously, the average American or 
European had a standard of living not very much superior to that of the
average man in India or China. -- dailyreckoning.com



Reply to: