[Bug c++/51405] Passing method result to constructor treated as function declaration

2022-04-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51405 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug c++/51405] Passing method result to constructor treated as function declaration

2011-12-03 Thread muhineg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51405 --- Comment #1 from Ievgen Mukhin muhineg at gmail dot com 2011-12-04 01:54:05 UTC --- Sorry, i was wrong when I wrote that test case compiles on 4.2.4. 4.2.4 throws compilation error as it should: error: base operand of ‘-’ has non-pointer type

[Bug c++/51405] Passing method result to constructor treated as function declaration

2011-12-03 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51405 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last