This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67093] incorrect -Wnonnull text for execl family of functions
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Aug 2015 02:50:16 +0000
- Subject: [Bug c/67093] incorrect -Wnonnull text for execl family of functions
- Auto-submitted: auto-generated
- References: <bug-67093-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67093
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
And right before the quote you gave:
"An application that relies on such a feature or behavior cannot be assured to
be portable across conforming implementations."
So this might not be a full requirement of POSIX, it is not a portable to do
it. So GCC warns about this case.