[Bug c++/25814] Request for warning for parser ambiguity of function declarations and variable declarations with initializations

wolfgang dot roemer at gmx dot net gcc-bugzilla@gcc.gnu.org
Tue Nov 14 15:36:00 GMT 2006



------- Comment #5 from wolfgang dot roemer at gmx dot net  2006-11-14 15:35 -------
Raimund.Merkert@baesystems.com wrote:
"Usually the problem will get caught as soon as you try to invoke a method, but
if it's something like a guard object, without methods, then it can be a
problem."

At least in this case there should be a warning if -Wunused-function is used,
shouldn't it?


-- 

wolfgang dot roemer at gmx dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wolfgang dot roemer at gmx
                   |                            |dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25814



More information about the Gcc-bugs mailing list