Actions
Bug #431
closeddcmsr does not build with MSC6
Start date:
2012-07-16
Due date:
% Done:
100%
Estimated time:
Module:
dcmsr
Operating System:
Compiler:
Description
Error message goes something like this:
dsrsoprf.cxx(316) : error C2248: 'InstanceStruct' : cannot access protected struct declared in class 'DSRSOPInstanceReferenceList'
dsrsoprf.h(323) : see declaration of 'InstanceStruct'
Similar errors happen at other places, also for SeriesStruct.
It seems like MSC6 does not allow sub-classes to access protected members of its parent class:
class A { protected: class B { public: B(); }; class C { void foo() { B b; }; }; // Error, B is protected in A }; }
Actions