public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100143] New: gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different
@ 2021-04-19 9:07 dcb314 at hotmail dot com
2021-04-19 9:19 ` [Bug c/100143] " marxin at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2021-04-19 9:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100143
Bug ID: 100143
Summary: gcc/gengtype.c:4097:34: warning: Function
'finish_root_table' argument order different
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Static analyser cppcheck says:
gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order
different: declaration 'flp, pfx, tname, lastname, name' definition 'flp, pfx,
lastname, tname, name' [funcArgOrderDifferent]
It might be worth fixing the declaration around line 2440 to match the
definition and making sure all callers look ok.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/100143] gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different
2021-04-19 9:07 [Bug c/100143] New: gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different dcb314 at hotmail dot com
@ 2021-04-19 9:19 ` marxin at gcc dot gnu.org
2021-04-19 9:24 ` cvs-commit at gcc dot gnu.org
2021-04-19 9:24 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-04-19 9:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100143
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
CC| |marxin at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2021-04-19
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I'm gonna fix it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/100143] gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different
2021-04-19 9:07 [Bug c/100143] New: gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different dcb314 at hotmail dot com
2021-04-19 9:19 ` [Bug c/100143] " marxin at gcc dot gnu.org
@ 2021-04-19 9:24 ` cvs-commit at gcc dot gnu.org
2021-04-19 9:24 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-19 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100143
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:fde4a87e734f7a889d0cd57d92192e40c91adea2
commit r11-8240-gfde4a87e734f7a889d0cd57d92192e40c91adea2
Author: Martin Liska <mliska@suse.cz>
Date: Mon Apr 19 11:20:46 2021 +0200
Align decl and def arguments.
gcc/ChangeLog:
PR c/100143
* gengtype.c (finish_root_table): Align function arguments
in between declaration and definition.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/100143] gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different
2021-04-19 9:07 [Bug c/100143] New: gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different dcb314 at hotmail dot com
2021-04-19 9:19 ` [Bug c/100143] " marxin at gcc dot gnu.org
2021-04-19 9:24 ` cvs-commit at gcc dot gnu.org
@ 2021-04-19 9:24 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-04-19 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100143
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-19 9:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19 9:07 [Bug c/100143] New: gcc/gengtype.c:4097:34: warning: Function 'finish_root_table' argument order different dcb314 at hotmail dot com
2021-04-19 9:19 ` [Bug c/100143] " marxin at gcc dot gnu.org
2021-04-19 9:24 ` cvs-commit at gcc dot gnu.org
2021-04-19 9:24 ` marxin at gcc dot gnu.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).