public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66231] New: -Werror=zero-as-null-pointer-constant - errors on -isystem function default values of NULL
@ 2015-05-20 23:08 darlingm at gmail dot com
2015-05-21 22:05 ` [Bug c++/66231] " paolo.carlini at oracle dot com
0 siblings, 1 reply; 2+ messages in thread
From: darlingm at gmail dot com @ 2015-05-20 23:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66231
Bug ID: 66231
Summary: -Werror=zero-as-null-pointer-constant - errors on
-isystem function default values of NULL
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: darlingm at gmail dot com
Target Milestone: ---
I'm using -Werror=zero-as-null-pointer-constant.
I'm using a library with a header providing default values on some functions of
NULL.
gcc trunk issues an error, since I'm using that default value.
But, I included that library's headers with -isystem.
I get that in one sense NULL is "imported" into my source and used, but I
really think the spirit of -isystem is being violated here. I either have to
edit library header files which aren't mine, or I can't use
-Werror=zero-as-null-pointer-constant.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/66231] -Werror=zero-as-null-pointer-constant - errors on -isystem function default values of NULL
2015-05-20 23:08 [Bug c++/66231] New: -Werror=zero-as-null-pointer-constant - errors on -isystem function default values of NULL darlingm at gmail dot com
@ 2015-05-21 22:05 ` paolo.carlini at oracle dot com
0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-05-21 22:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66231
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.
*** This bug has been marked as a duplicate of bug 43486 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-21 22:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-20 23:08 [Bug c++/66231] New: -Werror=zero-as-null-pointer-constant - errors on -isystem function default values of NULL darlingm at gmail dot com
2015-05-21 22:05 ` [Bug c++/66231] " paolo.carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).