[Bug c++/60304] Including <atomic> disables -Wconversion-null
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 24 13:34:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304
--- Comment #17 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #16)
> A testcase:
==> sys.h <==
#pragma GCC system_header
#if defined false
#undef false
#endif
#define false false
==> nonsys.h <==
#if defined false
#undef false
#endif
#define false false
==> false.c <==
#include "sys.h"
int * foo() {return false;}
#include "nonsys.h"
int * bar() {return false;}
More information about the Gcc-bugs
mailing list