[Bug c++/77502] -Wzero-as-null-pointer-constant : misleading/imprecise messages

2019-10-08 Thread e...@sf-mail.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77502 Rolf Eike Beer changed: What|Removed |Added CC||e...@sf-mail.de --- Comment #4 from

[Bug c++/77502] -Wzero-as-null-pointer-constant : misleading/imprecise messages

2018-10-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77502 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c++/77502] -Wzero-as-null-pointer-constant : misleading/imprecise messages

2017-08-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77502 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/77502] -Wzero-as-null-pointer-constant : misleading/imprecise messages

2016-09-06 Thread petschy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77502 --- Comment #1 from petschy at gmail dot com --- I found another case: initializing an array of structs: struct X { const char* p; int i; }; X x[] = { { "hello", 0 }, { 0, 0 }, // ! { 0, 0 }, // !