[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c++/32549] Wrong template instance resolution among multiple object files.
From:       "opichals at seznam dot cz" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2007-06-30 15:05:21
Message-ID: 20070630150521.32045.qmail () sourceware ! org
[Download RAW message or body]



------- Comment #3 from opichals at seznam dot cz  2007-06-30 15:05 -------
I am not sure about the standard wording. But logically typedefs local
to a .cpp file should stay local to that file. They in fact are. However
the template instances are not.

If it should not be that way then the compiler should complain about such
conflicts in some way not to get the two confused at runtime. Especially in
huge application merges this is very critical.

note: I am sorry, will be out of reach for the next few weeks to discuss in
detail. I would appreciate any pointers or more detailed explanations you could
provide.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32549

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic