This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64867] warning for passing non-POD to varargs function
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 07 Dec 2017 15:54:47 +0000
- Subject: [Bug c++/64867] warning for passing non-POD to varargs function
- Auto-submitted: auto-generated
- References: <bug-64867-4@http.gcc.gnu.org/bugzilla/>
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.