[Bug c++/53930] bug in linker

2012-07-12 Thread bespalovdn at gmail dot com
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

[Bug c++/53930] bug in linker

2012-07-12 Thread bespalovdn at gmail dot com
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

[Bug c++/53930] bug in linker

2012-07-12 Thread bespalovdn at gmail dot com
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

[Bug c++/53930] bug in linker

2012-07-12 Thread bespalovdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930 Dmitry Bespalov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/53930] bug in linker

2012-07-11 Thread bespalovdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930 DmitryBespalov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/53930] New: bug in linker

2012-07-11 Thread bespalovdn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930 Bug #: 53930 Summary: bug in linker Classification: Unclassified Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c