Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 08:56:28 +0000



Post From: Compiling Error using Visual C++ 2010 Express

[2018-01-04 13:53:53]
User96296 - Posts: 28
Following compiling errors prevent me from updating SC since v1582.

Any suggestions? Thanks!


1>------ Build started: Project: bwVC, Configuration: Release Win32 ------
1> bwVC.cpp
1>c:\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:\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(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:\sierrachart\acs_source\VAPContainer.h(1247) : 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(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:\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:\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(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:\sierrachart\acs_source\VAPContainer.h(1324) : 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(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> ]
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========