This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46449] Class in a CPP override a class from another CPP
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Nov 2010 13:27:31 +0000
- Subject: [Bug c++/46449] Class in a CPP override a class from another CPP
- Auto-submitted: auto-generated
- References: <bug-46449-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46449
--- Comment #6 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2010-11-12 13:26:40 UTC ---
>From the user point of view, linker and assembler are part of the compiler. So
the question is whether the linker could detect this case. But I guess the
standard answer is that GCC does not provide its own linker, so there is
nothing GCC can do.
On the other hand, since LLVM has its own linker, it would be interesting to
know whether they detect this case (or whether they aim to detect it).