[Bug c++/123128] Recent gcc trunk build fail with clang
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 15 12:34:26 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123128
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Of course I meant next = NULL;
In any case, this is about
int *p = ((unsigned long int) 0);
and g++ accepts that without warning even for -pedantic-errors -W -Wall, while
clang++ rejects it even without any options.
More information about the Gcc-bugs
mailing list