[Bug c++/26024] Initializing using methods of class object passed to constructor

2006-01-30 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-01-30 12:59 --- Close as a dup of bug 9217. *** This bug has been marked as a duplicate of 9217 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/26024] Initializing using methods of class object passed to constructor

2006-01-30 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-01-30 12:59 --- Reopening to ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/26024] Initializing using methods of class object passed to constructor

2006-01-30 Thread Don at Skyler dot com
--- Comment #3 from Don at Skyler dot com 2006-01-30 12:39 --- Subject: Re: Initializing using methods of class object passed to constructor On 30 Jan 2006 10:29:01 -, you wrote: > > >--- Comment #2 from rguenth at gcc dot gnu dot org 2006-01-30 10:29 >--- >D d(Ini

[Bug c++/26024] Initializing using methods of class object passed to constructor

2006-01-30 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-01-30 10:29 --- D d(Initializer()); parses as a function declaration, as you see from the error (which is on the cout line btw.): // bug.cpp: In function `int main()': // bug.cpp:35: error: request for member `i_'

[Bug c++/26024] Initializing using methods of class object passed to constructor

2006-01-29 Thread Don at Skyler dot com
--- Comment #1 from Don at Skyler dot com 2006-01-30 05:30 --- Somehow when I copied and pasted the first line in main came out wrong; it should be: D d(Initializer()); which produces the apparently incorrect error as noted. -- http://gcc.gnu.org/bugzilla/show_bug.cg