Google Answers Logo
View Question
Q: c++ namespace support ( Answered 5 out of 5 stars,   0 Comments )
Subject: c++ namespace support
Category: Computers > Programming
Asked by: jacobi-ga
List Price: $5.00
Posted: 02 Jun 2004 20:34 PDT
Expires: 02 Jul 2004 20:34 PDT
Question ID: 355682
I would like to know whether major c++ compilers on "major" computer
architectures support namespaces.

This is rather practical:  I would like to use namespaces.  But I can
only do so if for each architecture to be targeted,  there exists at
least one good c++ compiler supporting them.

Architectures should include: Linux, Windows, Sparc, AIX, PowerPC, ARM,..
Subject: Re: c++ namespace support
Answered By: theta-ga on 02 Jun 2004 23:51 PDT
Rated:5 out of 5 stars
Hi jacobi-ga, 
   The namespaces feature was added to the C++ language as part of the
ISO C++ 1998 standards. Given that its been six years since then, and
the namespace support is comparatively trivial to add, I will be
surprised if you find any current compiler that does not support them!
For your convenience, I have provided links to two major ISO C++ 1998
compliant compilers for each platform you mentioned.

-> Windows 
       - Microsoft Visual Studio
       - Intel C++ Compiler

-> Linux
       - The GNU Compiler Collection
       - Intel C++ Compiler for Linux

       - Sun Studio 8
       - The GNU Compiler Collection
-> PowerPC
       - IBM XL C/C++ Advanced Edition 
       - PowerPC Software Development Tools 

-> AIX
       - IBM VisualAGE C++ Compiler
       - The GNU Compiler Collection

Note that there are literally hundreds of complient free and
commercial compilers available for the Windows  and Linux platforms.
For the others, the GNU compiler collection supports all the platforms
on your list, and then some! For a list of supported platforms
supported by GCC , please see:
          - GCC Installation: Supported Platforms

Hope this helps.
If you need any clarifications, just ask!

Google Search Terms used:
 AIX C++ compiler
 SPARC C++ compiler
jacobi-ga rated this answer:5 out of 5 stars and gave an additional tip of: $2.00
Thanks.  You saved me lots of time

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy