Support Board
Date/Time: Sat, 11 Jan 2025 10:42:12 +0000
Compile error with the latest sierrachart.h ...
View Count: 757
[2016-11-16 16:43:38] |
marcovth - Posts: 61 |
NPP_SAVE: C:\SierraChart\SierraChartTransActMA\ACS_Source\ExampleStudy.cpp "C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\SierraChartTransActMA\ACS_Source\ExampleStudy.cpp" -fexceptions -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fexceptions -std=gnu++11 -lsqlite3 -o "C:\SierraChart\SierraChartTransActMA\Data\ExampleStudy.dll" Process started >>> In file included from C:\SierraChart\SierraChartTransActMA\ACS_Source\ExampleStudy.cpp:2:0: C:\SierraChart\SierraChartTransActMA\ACS_Source\sierrachart.h:3087:21: error: expected identifier before '*' token SCString (SCDLLCALL* GetChartSymbol)(int ChartNumber); ^ C:\SierraChart\SierraChartTransActMA\ACS_Source\sierrachart.h:3087:23: warning: '__cdecl__' attribute only applies to function types [-Wattributes] SCString (SCDLLCALL* GetChartSymbol)(int ChartNumber); ^ C:\SierraChart\SierraChartTransActMA\ACS_Source\sierrachart.h:3087:54: error: ISO C++ forbids declaration of 'SCString' with no type [-fpermissive] SCString (SCDLLCALL* GetChartSymbol)(int ChartNumber); ^ C:\SierraChart\SierraChartTransActMA\ACS_Source\sierrachart.h:3087:54: error: 'SCString' declared as function returning a function <<< Process finished. |
[2016-11-16 17:01:58] |
Sierra Chart Engineering - Posts: 104368 |
We do not know what the problem is in your case. We cannot reproduce this. We recommend using the current version of Sierra Chart and using the new "Remote Build" command on the Build Custom Studies DLL window. 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: