This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60304] Including <atomic> disables -Wconversion-null


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;}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]