Notes |
(0000195)
Matze (administrator)
2014-01-10 14:18
|
I can't reproduce this. (I'm on cparser d733932b2e0a1d82f8af03a375d8bd0d8210f812). With or without --no-external-pp. |
|
(0000201)
luzero (reporter)
2014-02-09 06:30
|
Figured out why, -Wundef seems too eager. |
|
(0000204)
Matze (administrator)
2014-02-13 16:51
|
I had a chance to look at the real code in question, the case is a bit more tricky
#if defined(foo) && foo > 0
// ...
#endif
gcc and clang do not emit a warning in this case. This is trickier to get right as you have to keep the information that you are dependent on a defined(foo) when you see the use of an identifier. |
|