Login Page - Create Account

Support Board


Date/Time: Mon, 10 Feb 2025 15:26:40 +0000



New error when converting custom studies to the new datetime changes

View Count: 546

[2020-08-24 13:24:54]
flyboy615 - Posts: 56
Hi, I've managed to resolve all my other issues except this one. Can you give me some insight as to what may be causing this issue?

Error  63  error C2536: 's_NumericInformationGraphDrawTypeConfig::s_NumericInformationGraphDrawTypeConfig::PercentCompareThresholds' : cannot specify explicit initializer for arrays  c:\sierrachart\acs_source\scstructures.h  3126

This has only been happening since I moved up to 2156+

Any insight would be appreciated.

Thanks
[2020-08-26 13:37:13]
flyboy615 - Posts: 56
So no one has a clue..... Support? no comment as this was something that has changed in recent a release and would imply a breaking change that was introduced as the compiler error comes from you header file?

To troubleshoot
I remove one study of the 32 and the error goes down by 1;
I remove all the code in the study ie an empty shell and I still have the error
I remove all the studies but the empty shell study and I still have the error
I've removed Sierra completely from the computer and installed a fresh current version.... no change, error still exists
I install a previous version, 1250 and it compiles fine

So... the issue doesn't seem to be my code but a breaking change that has been introduced
[2020-08-26 17:05:44]
Sierra Chart Engineering - Posts: 104368
How are you performing the build? What compiler are you using?
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
[2020-08-26 19:55:00]
flyboy615 - Posts: 56
I'm using Visual studio 2013 professional compiling using a 64bit architecture. Is this something that could be runtime dependent? I'm wondering if targeting a newer version of the c++ runtime would make any difference? I could move the project over to a 2016 c++ runtime.
[2020-08-26 20:37:33]
Sierra Chart Engineering - Posts: 104368
Update to Visual Studio 2019. You do need to use an up-to-date compiler. We cannot accommodate an older compiler. That is just getting too old. Maybe 2016 will work. We are not sure.
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