[Bug c++/22520] g++ treats object declaration as function declaration (rejects valid program)

2005-07-17 Thread ccarena at cox dot net
--- 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

[Bug c++/22520] New: g++ treats object declaration as function declaration (rejects valid program)

2005-07-17 Thread ccarena at cox dot net
ct declaration as function declaration (rejects valid program) Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ccar