C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 03-14-2010, 11:56 AM   #1
Registered User
 
Join Date: Aug 2009
Posts: 34
Setting up Visual Studio 2008 for ANSI Compliance

Apologies if this in the wrong forum. Can any one tell me how to turn off the Microsoft non-standard extensions to create an ANSI standard project?

Thanks!
steals10304 is offline   Reply With Quote
Old 03-14-2010, 12:01 PM   #2
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 12,460
Project -> Properties -> C/C++ -> Language -> Disable Language Extensions

Also, under General set the warning level to at least /W3. (/W4 is what I normally use, but I have heard that sometimes it gives spurious warnings.)
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP Query Travoiz C++ Programming 0 08-13-2009 02:58 PM
We Got _DEBUG Errors Tonto Windows Programming 5 12-22-2006 05:45 PM
C++ std routines siavoshkc C++ Programming 33 07-28-2006 12:13 AM
load gif into program willc0de4food Windows Programming 14 01-11-2006 10:43 AM
Learning OpenGL HQSneaker C++ Programming 7 08-06-2004 08:57 AM


All times are GMT -6. The time now is 12:18 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22