[Bug c++/30962] New: cause compile error for "const anonymous class object"

2007-02-25 Thread gzljg at hotmail dot com
y: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gzljg at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30962

[Bug c++/30962] cause compile error for "const anonymous class object"

2007-02-26 Thread gzljg at hotmail dot com
--- Comment #2 from gzljg at hotmail dot com 2007-02-26 22:55 --- Not sure what you mean by "MyAnonymous = {};" to initialize it... if change to: const class { /* */ } MyAnonymous = {}; will cause another error: "MyAnonymous' must be initialized by

[Bug c++/30962] cause compile error for "const anonymous class object"

2007-02-26 Thread gzljg at hotmail dot com
--- Comment #4 from gzljg at hotmail dot com 2007-02-26 23:14 --- I would rather to blame on Suse 10(I happend to verify on that machine). It doesn't work for a gcc 3.3.5(prerelease) version ===> myweb:> g++ -v Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs

[Bug c++/30962] cause compile error for "const anonymous class object"

2007-02-26 Thread gzljg at hotmail dot com
--- Comment #5 from gzljg at hotmail dot com 2007-02-26 23:35 --- Subject: RE: cause compile error for "const anonymous class object" CORRECTION: "Suse 10" should be read as "Suse 9". Can some one verify the official release of gcc 3.3.5? >From

[Bug c++/30962] cause compile error for "const anonymous class object"

2007-02-26 Thread gzljg at hotmail dot com
--- Comment #6 from gzljg at hotmail dot com 2007-02-27 01:57 --- Subject: RE: cause compile error for "const anonymous class object" Hi Pinskia, I update the notes there, can you take a look? Thanks. Gavin >From: "pinskia at gcc dot gnu dot org" <[E

[Bug c++/33762] New: partial template specialization question

2007-10-13 Thread gzljg at hotmail dot com
gcc Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gzljg at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33762

[Bug libstdc++/49506] New: reusing a file stream object will always get eof after openning

2011-06-22 Thread gzljg at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49506 Summary: reusing a file stream object will always get eof after openning Product: gcc Version: 3.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c++/33885] New: member reference to a temporary object being deleted too eary

2007-10-24 Thread gzljg at hotmail dot com
eary Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gzljg at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33885

[Bug c++/33885] member reference to a temporary object being deleted too eary

2007-10-24 Thread gzljg at hotmail dot com
--- Comment #1 from gzljg at hotmail dot com 2007-10-24 20:15 --- Created an attachment (id=14408) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14408&action=view) a compilable C source compile and run it to see the actual outcome. -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/33940] New: call of overloaded 'basic_string(const&)' is ambiguous for a template member function

2007-10-29 Thread gzljg at hotmail dot com
er function Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gzljg at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33940

[Bug c++/33940] call of overloaded 'basic_string(const&)' is ambiguous for a template member function

2007-10-29 Thread gzljg at hotmail dot com
--- Comment #2 from gzljg at hotmail dot com 2007-10-29 17:00 --- (In reply to comment #1) > A couple of quick comments. First, there is nothing special about std::string, > the same happens with std::vector, for example, because really the issue > is about multiple constructor

[Bug c++/33940] call of overloaded 'basic_string(const&)' is ambiguous for a template member function

2007-10-29 Thread gzljg at hotmail dot com
--- Comment #5 from gzljg at hotmail dot com 2007-10-29 17:56 --- (In reply to comment #4) > In practice, consider this: > > const > class { > public: > template operator T() const > { > return int(); > } > > } MYNULLOBJECT = {}; &g

[Bug c++/30390] New: cannot declare friend class of the parameter type in a template class

2007-01-05 Thread gzljg at hotmail dot com
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gzljg at hotmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30390