Synopsis: | Do not redefine keywords |
Language: | C++ |
Severity Level: | 1 |
Category: | Parts of C++ to Avoid |
Description: |
Do not use the preprocessor to redefine C++ keywords. Abominations such as #define private public are most certainly forbidden, but also the VC++ generated code #define new DEBUG_NEW must be removed. |