This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22520] g++ treats object declaration as function declaration (rejects valid program)
- From: "ccarena at cox dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2005 14:04:19 -0000
- Subject: [Bug c++/22520] g++ treats object declaration as function declaration (rejects valid program)
- References: <20050717135833.22520.ccarena@cox.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ccarena at cox dot net 2005-07-17 14:04 -------
This change will make it work:
Degrees degrees180( OneEighty );
Angle angle1( Degrees(180.0 ));// an instance of Angle
Angle angle2( degrees180 ); // this will work now
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22520