Jump to content
  • Advertisement
Sign in to follow this  

This topic is 3772 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What's the most featured most compliant with the standard C/C++ compiler (not ide)? GCC Intel OpenWatcom VC++ Borland C++ ???

Share this post


Link to post
Share on other sites
Advertisement
SiCrane is probably right, since to my knowledge it's the only one that implements the `export' keyword (allow separate declarations and definitions for templates).

I use gcc and I am not aware of any other departures from the standard. I think recent versions of VC++ have decent compliance too.

Share this post


Link to post
Share on other sites
For gcc, the only other departure from the standard that I know of in recent versions (4.2+) that is not considered a bug is an obscure case involving destruction order of objects with static storage duration on platforms that don't support __cxa_atexit() involving dynamic libraries.

Share this post


Link to post
Share on other sites
Quote:
Original post by alvaro
SiCrane is probably right, since to my knowledge it's the only one that implements the `export' keyword (allow separate declarations and definitions for templates).

I use gcc and I am not aware of any other departures from the standard. I think recent versions of VC++ have decent compliance too.


I agree that Comeau is the only fully compliant, but don't all EDG compilers (including Intel) support 'export'?

Share this post


Link to post
Share on other sites
Quote:
Original post by rozz666
I agree that Comeau is the only fully compliant, but don't all EDG compilers (including Intel) support 'export'?


I don't believe so. I've heard that you can use the EDG front end to create a compiler that doesn't support export. At least one academic compiler I've read about is done that way, but I haven't used it myself. The only EDG front end compiler I've personally used is the Comeau compiler, so I can't say for certain.

Share this post


Link to post
Share on other sites
Quote:
Original post by alvaro
SiCrane is probably right, since to my knowledge it's the only one that implements the `export' keyword (allow separate declarations and definitions for templates).


Intel also supports export.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!