Support Board
Date/Time: Sun, 22 Dec 2024 17:14:27 +0000
V1249 Compile error
View Count: 954
[2015-04-23 16:40:14] |
ertrader - Posts: 681 |
Hi support, below are compile errors I get when compiling any code. V1247 worked OK. -- Starting build of Custom Studies Source files: AutoTradeConfigNQ.cpp. -- 11:38:29 "C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\AutoTradeConfigNQ.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "C:\files\Sierra_Data\AutoTradeConfigNQ.dll" In file included from C:\SierraChart\ACS_Source\AutoTradeConfigNQ.cpp:1:0: C:\SierraChart\ACS_Source\sierrachart.h:2820:21: error: expected identifier before '*' token SCString (SCDLLCALL* DataTradeServiceName)(); ^ C:\SierraChart\ACS_Source\sierrachart.h:2820:23: warning: '__cdecl__' attribute only applies to function types [-Wattributes] SCString (SCDLLCALL* DataTradeServiceName)(); ^ C:\SierraChart\ACS_Source\sierrachart.h:2820:45: error: ISO C++ forbids declaration of 'SCString' with no type [-fpermissive] SCString (SCDLLCALL* DataTradeServiceName)(); ^ C:\SierraChart\ACS_Source\sierrachart.h:2820:45: error: 'SCString' declared as function returning a function -- End of Build -- 11:38:31 Date Time Of Last Edit: 2015-04-23 16:40:27
|
[2015-04-23 16:42:43] |
ertrader - Posts: 681 |
Here is an example of code I always compile. All compiles are not working and all give the same errors.
Date Time Of Last Edit: 2015-04-23 16:44:49
|
AutoTradeConfigNQ.cpp - Attached On 2015-04-23 16:41:34 UTC - Size: 4.71 KB - 399 views |
[2015-04-23 22:03:37] |
Sierra Chart Engineering - Posts: 104368 |
We will solve this.
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 |
[2015-04-24 19:12:35] |
Marmany - Posts: 307 |
I am currently considering upgrading to V1249 but would be wanting to compile code similar to that giving problems to ertrader. Please advise if the problem has been solved in latest pre-release. Thanks |
[2015-04-25 00:32:38] |
Sierra Chart Engineering - Posts: 104368 |
This will be solved in version 1250 coming out in about an hour.
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 |
[2015-04-27 18:08:31] |
ertrader - Posts: 681 |
This is working now. Thank you.
|
To post a message in this thread, you need to log in with your Sierra Chart account: