Changes between Version 37 and Version 38 of Guidelines/MaintenanceGuidelines


Ignore:
Timestamp:
Jan 24, 2010, 12:23:48 PM (13 years ago)
Author:
Paul A. Bristow
Comment:

4146 added

Legend:

Unmodified
Added
Removed
Modified
  • Guidelines/MaintenanceGuidelines

    v37 v38  
    757757
    758758||C4127|| conditional expression is constant||Very common and many believe unhelpful, but a few find it informative, so do not suppress globally.  Even while(true) can trigger this!  Suppress. while(true) can be rewritten as for(;;) eliminating the warning. || #  pragma warning(disable: 4127) // conditional expression is constant.||
     759
     760||C4146|| unary minus operator applied to unsigned type, result still unsigned||This indicates a real error. ||Fix. ||
    759761
    760762||C4180||  qualifier applied to function type has no meaning; ignored||The meaningless qualifier can always be removed (or left as a comment if it informative) - but check that you didn't mean to put the const somewhere else. can always be suppressed.||#  pragma warning(disable: 4180) // qualifier applied to function type has no meaning; ignored||