Setting up Visual Studio 2008 for ANSI Compliance

This is a discussion on Setting up Visual Studio 2008 for ANSI Compliance within the C++ Programming forums, part of the General Programming Boards category; Apologies if this in the wrong forum. Can any one tell me how to turn off the Microsoft non-standard extensions ...

  1. #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!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,910
    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
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. LDAP Query
    By Travoiz in forum C++ Programming
    Replies: 0
    Last Post: 08-13-2009, 02:58 PM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 09:43 AM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM

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