Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hebak
  • Order by date
  1. hebak

    Possible loss of data warnings not being picked up!

    Hey uolj, There aren't any other warnings in the two files when I build with warning level 3. If I build with warning level 4, I get all the annoying warnings like variable declared but not used... I removed all the other code in the files, I still get the same results - a warning in one of...
  2. hebak

    Possible loss of data warnings not being picked up!

    Hey cpjust, I get the same results with both debug and release builds. That part of the code is definately not being optimized out. Thanks for the suggestion though.
  3. hebak

    Possible loss of data warnings not being picked up!

    Let me be a little more clear: This is the setup I have: I have a project with two different files A.cpp and B.cpp say. The issue I'm having is with code of this sort: int yyy=6; double xxxx=6.0; yyy=xxxx; When I put the code fragment into A.cpp and compile (or build the project) with...
  4. hebak

    Possible loss of data warnings not being picked up!

    Thanks for the suggestion. I've already tried warning level 4. It picks up a lot of other things (like variable declared but not used etc), but it still won't report the possible loss of data warning.
  5. hebak

    Possible loss of data warnings not being picked up!

    Hi everyone I am compiling code in MVC++ 7.1 with warning level 3. The following code only produces a warning c4244 if placed in certain files in the solution. int yyy=6; double xxxx=6.0; float ffff=6.0; yyy=xxxx; How is this happening when the warning level applies to all files in the...

Part and Inventory Search

Back
Top