Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 05:49:34 +0000



v1928 compiler problem

View Count: 1530

[2019-06-06 20:03:47]
Blue Brazilian - Posts: 42
I recently moved to v1928. I am working on a custom study which I developed on v1881. The study that was compiled on v1881 runs successfully on v1928.
Preparing for an enhancement to the study, I saved the CPP file with a different name, changed two lines in the code: the SCDLL with the new name and the SCSFExport with the new name. I made no other changes to the code.
I compiled the study OK with Visual C++ Release, but when I load the study it crashes Sierra. The v1881 version still runs OK.
FYI I noticed, in the compiler output, the following line:
cl: Command line warning D9002 - ignoring unknown option '/std c++17'
which I don't remember seeing on earlier compiler runs. I'm not sure if it's relevant to the problem as it's only a warning.

Have there been any changes to the compiler between v1881 and v1928 that would cause the problem?
Date Time Of Last Edit: 2019-06-06 20:04:56
[2019-06-06 20:07:13]
Sierra Chart Engineering - Posts: 104368
This indicates a problem in your code. It is not a compiler issue. It could not be.

Refer to help topic 17:
Sierra Chart Unexpectedly Shutting Down | Memory Errors | Unusual Software Problems | Exception Errors | Freezing of User Interface
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
[2019-06-06 20:26:09]
Blue Brazilian - Posts: 42
Well, I went back to v1881, compiled the new name version of the study there, and it ran successfully, so clearly there are some operational constraints in v1928 that don't exist in v1881.
I'll continue on v1881 for now.

Thanks anyway.
[2019-06-06 20:51:33]
Ackin - Posts: 1863
I'm not sure if it's relevant to the problem as it's only a warning.

https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019

Only warning ...

Try check all .h files (replace it from new ver 1928 again)
Date Time Of Last Edit: 2019-06-06 20:55:44
[2019-06-07 04:49:14]
Sierra Chart Engineering - Posts: 104368
There are no problems with the studies provided by Sierra Chart between versions.

Refer to:
https://www.sierrachart.com/index.php?page=doc/helpdetails17.html#h17.2
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
[2019-06-07 08:08:29]
User553714 - Posts: 184
I have been getting the same compiler warning as well for quite a long time; however my studies compile & function correctly unlike the initial poster;
cl : Command line warning D9002 : ignoring unknown option '/std:c++17'

As it's just a warning I have continued to ignore it.
[2019-12-11 11:33:49]
User129630 - Posts: 22
I also have the same warning, as mentioned above: Command line warning D9002 : ignoring unknown option '/std:c++17' when building the Advanced Custom Studies DLL via the "Build With Visual C++ Release" or "Build With Visual C++ Debug".

Although this is a Warning, it will be nice to get rid of it. These command line "unknown option" parameters are generated by the Sierra Charts build script. I looked around everywhere and couldn't find the place to fix it.

Please report this as a bug to be fixed. Thanks.
Date Time Of Last Edit: 2019-12-11 11:34:29

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

Login

Login Page - Create Account