Menu

#28 Many level 4 warnings in Visual Studio 2010

0.5.0
closed-accepted
nobody
5
2015-03-06
2011-03-06
Ada Linux
No

There are about 15 warnings when compiling with Visual Studio 2010 with /W4. For example, "conditional expression is constant" on "while (true)" - for (;;) should be used instead to avoid this warning.

Discussion

  • Christopher Dunn

    Please post the warnings. Do not be bashful about posting lots of detail.

    I do not agree that "while(true)" is undesirable. Visual Studio is not the gold standard, and I would argue that "for(;;)" is a possible typo. However, if blep does not mind, I am willing to replace those with for(;;).

     
  • Christopher Dunn

    • status: open --> pending
     
  • Ada Linux

    Ada Linux - 2011-06-22
    • status: pending --> open
     
  • Christopher Dunn

    • status: open --> closed-accepted
    • Group: --> 0.5.0
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.