Login Page - Create Account

Support Board


Date/Time: Tue, 28 Jan 2020 21:24:02 +0000



v1928 compiler problem

[2019-06-06 20:03:47]
Blue Brazilian - Posts: 35 | Ending Date: 2020-02-01
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: 80524 | Ending Date: 2020-06-09
This indicates a problem in your code. It is not a compiler issue. It could not be.

Refer to help topic 17:
Https://www.sierrachart.com/index.php?page=doc/helpdetails17.html
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2019-06-06 20:26:09]
Blue Brazilian - Posts: 35 | Ending Date: 2020-02-01
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: 543 | Ending Date: 2020-09-04
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: 80524 | Ending Date: 2020-06-09
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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2019-06-07 08:08:29]
User553714 - Posts: 180 | Ending Date: 2021-03-28
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 | Ending Date: 2016-05-15 [Expired]
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 login with your Sierra Chart account:

Login

Login Page - Create Account