Closed GoogleCodeExporter closed 9 years ago
Thanks for the suggestion. We discussed this before (in issue 240 and then some
off-line communication) and decided not to do it. Basically I think the
behavior of
gcc's -Wundef is broken and the warning is unnecessarily aggressive. My
suggestion
for you is to use gcc's -isystem flag to treat gtest headers as system headers,
s.t.
you can use -Wundef to catch undefined macros in your own code without showing
warnings in gtest headers.
Original comment by w...@google.com
on 12 Mar 2010 at 8:07
Original issue reported on code.google.com by
novas0x2a
on 11 Mar 2010 at 11:00