This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60304] Including <atomic> disables -Wconversion-null
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Oct 2014 13:23:06 +0000
- Subject: [Bug c++/60304] Including <atomic> disables -Wconversion-null
- Auto-submitted: auto-generated
- References: <bug-60304-4 at http dot gcc dot gnu dot org/bugzilla/>
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;}