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
--- 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
--- 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
--- 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
--- 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
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
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
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
--- 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_
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
--- 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
--- 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
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
13 matches
Mail list logo