http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
--- Comment #10 from Richard Guenther 2012-07-12
12:18:11 UTC ---
(In reply to comment #9)
> Correction of typo:
> ...So I actually do not redefine std::string again, I just USE the type
> defined
> in third file.
Preprocessing makes the std::s
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
--- Comment #9 from Dmitry Bespalov 2012-07-12
10:54:31 UTC ---
Correction of typo:
...So I actually do not redefine std::string again, I just USE the type defined
in third file.
Sorry
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
--- Comment #8 from Dmitry Bespalov 2012-07-12
10:51:51 UTC ---
Jonathan,
I'm not sure if we're talking about the same thing. You've asked:
<< If that was the case how would you ever use any type (e.g. std::string) in
more
<< than one file, it w
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
--- Comment #7 from Jonathan Wakely 2012-07-12
10:09:10 UTC ---
ISO 14882:2011 3.2
"There can be more than one definition of a class type (Clause 9), [...] in a
program provided that each definition appears in a different translation unit,
and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
--- Comment #6 from Dmitry Bespalov 2012-07-12
10:03:14 UTC ---
It really works as expected if put A into some namespace, but it really as well
that implementation differs in Microsoft's VC and GCC. Under VC you always gets
right result, there is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
Dmitry Bespalov changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
DmitryBespalov changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
10 matches
Mail list logo