Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to remove compile warnings in VC++ 2008?

How to remove compile warnings in VC++ 2008?

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++visual-studiohelp
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KaKa
    wrote on last edited by
    #1

    I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:

    C _ J 3 Replies Last reply
    0
    • K KaKa

      I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      KaKa' wrote:

      How do I remove the compile warnings during compilation?

      The best way I know of, is not to have any warnnings :). And yes, I'm serious. Why would you want to remove the warnings, they often contain very valuable information and if you want not to be overwhelmed by warnings, try to modify your code so that it doesn't produce any warning anymore.

      Cédric Moonen Software developer
      Charting control [v1.5] OpenGL game tutorial in C++

      1 Reply Last reply
      0
      • K KaKa

        I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:

        _ Offline
        _ Offline
        _Superman_
        wrote on last edited by
        #3

        Nothing has been removed. Its still the same. The Error List window had 3 buttons on the top that says Errors, Warnings and Messages. By default all 3 are selected. Here you can control what needs to be shown.

        «_Superman_» I love work. It gives me something to do between weekends.

        1 Reply Last reply
        0
        • K KaKa

          I am using visual studio 2008 professional and during compilation, the errors and warnings are all displayed together, making it hard to identify the error messages. How do I remove the compile warnings during compilation? And in Visual studio 2005, the warnings and errors have their separate tabs and are nicely separated. Why did microsoft remove this user friendly display and mix both errors and warnings in VS2008.........:confused:

          J Offline
          J Offline
          Joe Woodbury
          wrote on last edited by
          #4

          Not to be too sarcastic, but pay attention to the warnings and fix them. If you find some warnings aren't appropriate for your specific situation, disable the warning with a pragma. (I always compile at Warning Level 4 and typically turn off a [very] few irrelevant warnings.)

          Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups