Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 12:37:33 +0000



Post From: Compiling problem with V 1148 ?

[2014-06-19 12:31:35]
wwwingman - Posts: 185
Hi,

I just upgraded from 1137 to 1148 and have a compiling problem with sierrachart.h

For ex, with the sierra template

-- Starting build of Custom Studies Source files: Template.cpp. -- 08:26:17

"C:\SierraChart\CPPCompiler\bin\g++.exe" "C:\SierraChart\ACS_Source\Template.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "C:\SierraChart\Data\Template.dll"

In file included from C:\SierraChart\ACS_Source\Template.cpp:2:0:
C:\SierraChart\ACS_Source\sierrachart.h:5334:22: error: expected identifier before '*' token
C:\SierraChart\ACS_Source\sierrachart.h:5334:24: warning: '__cdecl__' attribute only applies to function types [-Wattributes]
C:\SierraChart\ACS_Source\sierrachart.h:5334:74: error: ISO C++ forbids declaration of 'SCString' with no type [-fpermissive]
C:\SierraChart\ACS_Source\sierrachart.h:5334:74: error: 'SCString' declared as function returning a function
-- End of Build -- 08:26:18

Am I doing something wrong ? this worked perfectly during the past versions.

W.