[Bug c++/15339] function call error
Gabriel Dos Reis
gdr@integrable-solutions.net
Fri May 7 16:24:00 GMT 2004
"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
More information about the Gcc-bugs
mailing list