Synopsis: | Use const to provide typed constants in preference to #define where legal and appropriate to do so. |
Language: | C |
Severity Level: | 5 |
Category: | PREPROCESSING |
Description: |
The type security provided by const and using functions instead of macros is very valuable and should be taken advantage of. |