Support Board
Date/Time: Wed, 15 Jan 2025 21:38:48 +0000
Post From: c_VAPContainerBase Error
[2017-08-29 20:41:12] |
User332203 - Posts: 20 |
I downloaded the latest build of SC and now my DLL will not compile. I am getting the following error: c:\sierrachart\acs_source\vapcontainer.h(339): error C2758: 'c_VAPContainerBase<t_VolumeAtPrice>::m_InitialAllocationElements' : must be initialized in constructor base/member initializer list 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeAtPriceV2 1> ] 1> c:\sierrachart\acs_source\vapcontainer.h(303) : see declaration of 'c_VAPContainerBase<t_VolumeAtPrice>::m_InitialAllocationElements' 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeAtPriceV2 1> ] 1> c:\sierrachart\acs_source\vapcontainer.h(338) : while compiling class template member function 'c_VAPContainerBase<t_VolumeAtPrice>::c_VAPContainerBase(const c_VAPContainerBase<t_VolumeAtPrice> &)' 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeAtPriceV2 1> ] 1> c:\sierrachart\acs_source\vapcontainer.h(1246) : see reference to class template instantiation 'c_VAPContainerBase<t_VolumeAtPrice>' being compiled 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeAtPriceV2 1> ] 1>c:\sierrachart\acs_source\vapcontainer.h(339): error C2614: 'c_VAPContainerBase<t_VolumeAtPrice>' : illegal member initialization: 'c_VAPContainerBase<s_VolumeAtPriceV2>' is not a base or member 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeAtPriceV2 1> ] 1>c:\sierrachart\acs_source\vapcontainer.h(339): error C2758: 'c_VAPContainerBase<t_VolumeAtPrice>::m_InitialAllocationElements' : must be initialized in constructor base/member initializer list 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeLevelAtPrice 1> ] 1> c:\sierrachart\acs_source\vapcontainer.h(303) : see declaration of 'c_VAPContainerBase<t_VolumeAtPrice>::m_InitialAllocationElements' 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeLevelAtPrice 1> ] 1> c:\sierrachart\acs_source\vapcontainer.h(338) : while compiling class template member function 'c_VAPContainerBase<t_VolumeAtPrice>::c_VAPContainerBase(const c_VAPContainerBase<t_VolumeAtPrice> &)' 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeLevelAtPrice 1> ] 1> c:\sierrachart\acs_source\vapcontainer.h(1323) : see reference to class template instantiation 'c_VAPContainerBase<t_VolumeAtPrice>' being compiled 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeLevelAtPrice 1> ] 1>c:\sierrachart\acs_source\vapcontainer.h(339): error C2614: 'c_VAPContainerBase<t_VolumeAtPrice>' : illegal member initialization: 'c_VAPContainerBase<s_VolumeLevelAtPrice>' is not a base or member 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeLevelAtPrice 1> ] |