This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33219] Error in compiling when there is a function with a char parameter called before its declaration with inline parameters.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2007 16:15:54 -0000
- Subject: [Bug c/33219] Error in compiling when there is a function with a char parameter called before its declaration with inline parameters.
- References: <bug-33219-15030@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from pinskia at gcc dot gnu dot org 2007-08-29 16:15 -------
No C is defined this way. Look at the error message, we mention why this code
is invalid.
> a.c:7: note: an argument type that has a default promotion can't match an empty
> parameter name list declaration
What more do you want from GCC, except from accepting this invalid code?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33219