[Bug c++/64867] warning for passing non-POD to varargs function
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 7 15:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |easyhack
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |egallager at gcc dot gnu.org
--- Comment #22 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #21)
> No, because it doesn't have any tests.
>
> It should probably adjust:
>
> ../gcc/testsuite/g++.dg/overload/ellipsis1.C
> ../gcc/testsuite/g++.dg/overload/ellipsis2.C
> ../gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C
>
> to use the new flag, and add a test that the new flag is enabled by
> -Wconditionally-supported
OK, I think I can do this.
More information about the Gcc-bugs
mailing list