Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 21:16:17 +0000



Some compiler warnings on sc-defined functions

View Count: 1129

[2016-05-30 07:30:35]
User754985 - Posts: 109
Got this while buliding my ACSIL study in VS2015..

c:\sierrachart2\acs_source\vapcontainer.h(745): warning C6308: 'realloc' might return null pointer: assigning null pointer to 'm_p_BarIndexToFirstElementIndexArray', which is passed as an argument to 'realloc', will cause the original memory block to be leaked.
c:\sierrachart2\acs_source\vapcontainer.h(764): warning C6308: 'realloc' might return null pointer: assigning null pointer to 'm_p_VAPDataElements', which is passed as an argument to 'realloc', will cause the original memory block to be leaked.
c:\sierrachart2\acs_source\scstring.h(699): warning C6387: 'p_Block' could be '0': this does not adhere to the specification for the function 'memset'.
c:\sierrachart2\acs_source\sierrachart.h(1676): warning C6387: 'Pointer' could be '0': this does not adhere to the specification for the function 'memset'.

Probably harmless, but just in case..
[2016-05-30 08:02:06]
Sierra Chart Engineering - Posts: 104368
Do not be concerned about these.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account