| Summary: | -Wundef generates warning when compiling with /usr/include/sys/cdefs.h | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Brian Minard <bminard> | ||||
| Component: | i386 | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.7-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Brian Minard
2003-01-21 16:00:17 UTC
State Changed From-To: open->closed Undefined preprocessor tokens are converted to 0 before evaluation, so this isn't a real problem. I would advice against using -Wundef unless you don't mind false positives like this one. |