Changes between Version 37 and Version 38 of Guidelines/MaintenanceGuidelines
- Timestamp:
- Jan 24, 2010, 12:23:48 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Guidelines/MaintenanceGuidelines
v37 v38 757 757 758 758 ||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. || 759 761 760 762 ||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||