public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/92212] incompatible calls to K&R functions not diagnosed
       [not found] <bug-92212-4@http.gcc.gnu.org/bugzilla/>
@ 2021-10-27  5:21 ` egallager at gcc dot gnu.org
  2021-10-27  7:37 ` schwab@linux-m68k.org
  1 sibling, 0 replies; 2+ messages in thread
From: egallager at gcc dot gnu.org @ 2021-10-27  5:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92212

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to joseph@codesourcery.com from comment #1)
> See bugs 14030, 26732, 48091, 64526.  Not sure how many bugs in this area 
> are genuinely different - I suspect a single bug could be considered to 
> cover the whole area of checking arguments to K&R functions (with 
> warnings, not pedwarns or errors, for bad calls), as long as all different 
> cases are properly covered with tests added for any fix.

Which of these is closest to clang's -Wknr-promoted-parameter?
https://clang.llvm.org/docs/DiagnosticsReference.html#wknr-promoted-parameter

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/92212] incompatible calls to K&R functions not diagnosed
       [not found] <bug-92212-4@http.gcc.gnu.org/bugzilla/>
  2021-10-27  5:21 ` [Bug c/92212] incompatible calls to K&R functions not diagnosed egallager at gcc dot gnu.org
@ 2021-10-27  7:37 ` schwab@linux-m68k.org
  1 sibling, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2021-10-27  7:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92212

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
warning: function declaration isn’t a prototype [-Wstrict-prototypes]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-27  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-92212-4@http.gcc.gnu.org/bugzilla/>
2021-10-27  5:21 ` [Bug c/92212] incompatible calls to K&R functions not diagnosed egallager at gcc dot gnu.org
2021-10-27  7:37 ` schwab@linux-m68k.org

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).