[Bug c++/41786] misparsing an object declaration - parameter may not have variably modified type

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 21 19:49:00 GMT 2009



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-10-21 19:49 -------
I don't think this is misparsing this at all.  This is one place in the C++
standard that says it should be parsed as a function declaration rather than a
variable declaration to resolve an ambiguous between those two.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|misparsing an object        |misparsing an object
                   |declaration - parameter may |declaration - parameter may
                   |not have variably modified  |not have variably modified
                   |type                        |type


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



More information about the Gcc-bugs mailing list