Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 17:20:37 +0000



Post From: V1249 Compile error

[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