This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53930] bug in linker
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jul 2012 12:18:11 +0000
- Subject: [Bug c++/53930] bug in linker
- Auto-submitted: auto-generated
- References: <bug-53930-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53930
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 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::string definition from <string> part of your
compilation unit, so you _do_ redefine it.