This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41786] misparsing an object declaration - parameter may not have variably modified type
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2009 19:49:28 -0000
- Subject: [Bug c++/41786] misparsing an object declaration - parameter may not have variably modified type
- References: <bug-41786-847@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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