Support Board
Date/Time: Sat, 11 Jan 2025 10:49:53 +0000
Post From: Compile error with the latest sierrachart.h ...
[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. |