Support Board
Date/Time: Sun, 19 Jan 2025 15:16:39 +0000
Post From: Getting error C2864 when compiling code after upgrade to latest version of Sierrachart
[2018-03-04 06:33:13] |
User909904 - Posts: 14 |
Hi, I would really like to stay with the VS 2010. I saw the new release 1711. I installed it but I am still getting some errors: 1>c:\programs\sierrachart\acs_source\vapcontainer.h(337): 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:\programs\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:\programs\sierrachart\acs_source\vapcontainer.h(336) : 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:\programs\sierrachart\acs_source\vapcontainer.h(1249) : see reference to class template instantiation 'c_VAPContainerBase<t_VolumeAtPrice>' being compiled 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeAtPriceV2 1> ] 1>c:\programs\sierrachart\acs_source\vapcontainer.h(337): 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:\programs\sierrachart\acs_source\vapcontainer.h(337): 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:\programs\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:\programs\sierrachart\acs_source\vapcontainer.h(336) : 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:\programs\sierrachart\acs_source\vapcontainer.h(1326) : see reference to class template instantiation 'c_VAPContainerBase<t_VolumeAtPrice>' being compiled 1> with 1> [ 1> t_VolumeAtPrice=s_VolumeLevelAtPrice 1> ] 1>c:\programs\sierrachart\acs_source\vapcontainer.h(337): 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> ] 1> 1>Build FAILED. Thank you Josef Date Time Of Last Edit: 2018-03-04 06:59:53
|