Support Board
Date/Time: Mon, 12 May 2025 00:51:09 +0000
Post From: Some compiler warnings on sc-defined functions
[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.. |