| 672 | | |
| 673 | | 1 C4512 assignment operator could not be generated |
| 674 | | |
| 675 | | Suppress using push'n'pop for the module(s) causing the warning. |
| 676 | | //# pragma warning(disable: 4512) // assignment operator could not be generated |
| 677 | | |
| 678 | | |
| 679 | | 2 C4996 'putenv': The POSIX name for this item is deprecated.[[BR]] |
| 680 | | and many other messages about using secure versions. |
| 681 | | |
| 682 | | Unless you believe that the 'secure' versions are useful, suppress with |
| 683 | | # pragma warning(disable: 4996) // '' was declared deprecated |
| 684 | | |
| 685 | | 3 C4127 conditional expression is constant[[BR]] |
| 686 | | |
| 687 | | Very common and many believe unhelpful, but a few find it informative, so do not suppress globally. |
| 688 | | |
| 689 | | Even while(true) can trigger this! Suppress.[[BR]] |
| 690 | | |
| 691 | | # pragma warning(disable: 4127) // conditional expression is constant |
| 692 | | |
| 693 | | 4 C4100 unreferenced formal parameter |
| 694 | | |
| 695 | | Either surround the parameter with C comments, for example: int */ my_variable */) |
| 696 | | or just delete if the variable name is uninformative. |
| | 672 | ||Warning #||Warning||Suggestions||Suppression|| |
| | 673 | |
| | 674 | ||1||C4512|| assignment operator could not be generated||Suppress using push'n'pop for the module(s) causing the warning.||//# pragma warning(disable: 4512) // assignment operator could not be generated.|| |
| | 675 | |
| | 676 | ||2|| C4996||'putenv': The POSIX name for this item is deprecated.||Many other messages about using secure versions.Unless you believe that the 'secure' versions are useful, suppress.||# pragma warning(disable: 4996) // '' was declared deprecated. |
| | 677 | || |
| | 678 | |
| | 679 | ||3||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.|| # pragma warning(disable: 4127) // conditional expression is constant.|| |
| | 680 | |
| | 681 | ||4||C4100|| unreferenced formal parameter||Either surround the parameter with C comments, for example: int */ my_variable */)or just delete if the variable name is uninformative.|||| |