3 ms·
gcc has -Wundef (Warn if an undefined identifier is evaluated in an #if directive.)
by sigjuice 11y ago
gcc has -Wundef (Warn if an undefined identifier is evaluated in an #if directive.)
- PeCaN 11y agoWhich is a enabled by default with -Wall. I'm a fan of compiling with -Wall -Wextra and manually disabling any irrelevant warnings (which is rare, and preferable to do on a per-file basis in the Makefile).