http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49727
Summary: Same classes in different files issue.
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
We have 2 classes with the same name in different files. They both are in one
namespace.
1 class is in .cpp file and another in .h. Using of objects is not intercepts
in different modules.
ex: foo.h contains : namespace A{ class A{}; }, bar.cpp contains: namespace A{
class A{}; }
While running program it is crashed because of use wrong class in foo.cpp in
our case.