This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15339] function call error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]