This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]