[Bug c++/15339] function call error
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Fri May 7 16:24:00 GMT 2004
------- Additional Comments From gdr at integrable-solutions dot net 2004-05-07 16:24 -------
Subject: Re: function call error
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Actually, that was easy. 8.3.6/4 specificly says
| For non-template functions, default arguments can be added in later
| declarations.
|
| So the code is invalid.
Yes, you're right. But we should be diagnosing the declaration
in the first place -- which we fail. So there is an issue here, but
not that one the submitter thought about.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15339
More information about the Gcc-bugs
mailing list