https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
--- Comment #7 from paolo at gcc dot gnu.org ---
Author: paolo
Date: Tue Oct 24 19:01:03 2017
New Revision: 254057
URL: https://gcc.gnu.org/viewcvs?rev=254057&root=gcc&view=rev
Log:
2017-10-24 Paolo Carlini
PR c++/82466
* doc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|paolo.carlin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
--- Comment #5 from Bernd Edlinger ---
Yes, and I think the C warning should use that option as well.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
--- Comment #3 from Paolo Carlini ---
Yes. Recycling the warning-name that you added seems fine, but we should
probably extend the description to something like: "Warn if a built-in function
is declared with the wrong signature or as non-function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
Paolo Carlini changed:
What|Removed |Added
CC||paolo.carlini at oracle dot com
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
--- Comment #2 from Bernd Edlinger ---
Thanks for looking at this.
I think your patch is fine.
My thought was that it could also be enabled by
OPT_Wbuiltin_declaration_mismatch,
which is default-enabled but can be disabled
in the test case, if n
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
--- Comment #1 from Paolo Carlini ---
Thanks. I don't think there is *much* more than the below to it:
Index: decl.c
===
--- decl.c (revision 253509)
+++ decl.c (working c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIR