https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
Jeffrey A. Law changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
Xi Ruoyao changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #7 from Xi Ruoyao
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
--- Comment #6 from Zeb Figura ---
It is my impression that gcc is interested in avoiding false positives for its
warnings. This isn't to say that there aren't some number of false positives in
existence, but it is my impression that gcc is inte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
--- Comment #5 from Xi Ruoyao ---
And you can tell the compiler some fact about the semantics of the Windoge API
functions if you really need -Werror=nonnull (though I cannot see any reason
you must use -Werror here):
int GetSystemDirectory16(c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
--- Comment #4 from Xi Ruoyao ---
(In reply to Zeb Figura from comment #3)
> (In reply to Xi Ruoyao from comment #2)
> > (In reply to Xi Ruoyao from comment #1)
> > > The warning given for the reduced test case is correct because it does not
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
--- Comment #3 from Zeb Figura ---
(In reply to Xi Ruoyao from comment #2)
> (In reply to Xi Ruoyao from comment #1)
> > The warning given for the reduced test case is correct because it does not
> > make sense. It should be just rewritten as
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
--- Comment #2 from Xi Ruoyao ---
(In reply to Xi Ruoyao from comment #1)
> The warning given for the reduced test case is correct because it does not
> make sense. It should be just rewritten as
I mean, the code does not make sense.
And the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669
Xi Ruoyao changed:
What|Removed |Added
CC||xry111 at gcc dot gnu.org
--- Comment #1 fr