Login Page - Create Account

Support Board


Date/Time: Wed, 22 Jan 2025 09:41:52 +0000



Post From: Getting compile error on v1806.

[2018-09-17 08:55:18]
bjohnson777 (Brett Johnson) - Posts: 284
I tried recompiling my Standard Tool Kit for the newly released 1806, but I'm getting the error below. Can y'all translate this? Thanks.


-- Starting remote build of Custom Studies Source files: BrettJohnsonsStandardToolKit.cpp. 64-bit -- 03:30:44
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

In file included from scstructures.h:84:0,
from sierrachart.h:15,
from BrettJohnsonsStandardToolKit.cpp:2:
SCString.h: In constructor 'SCString::SCString(const char*, int)':
SCString.h:201:41: error: 'min' was not declared in this scope
StringLength = min(Length, MAX_LENGTH);
^
SCString.h:201:41: note: suggested alternative:
In file included from /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/algorithm:62:0,
from scstructures.h:49,
from sierrachart.h:15,
from BrettJohnsonsStandardToolKit.cpp:2:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/stl_algo.h:3451:5: note: 'std::min'
min(initializer_list<_Tp> __l, _Compare __comp)
^

-- End of Build -- 03:30:49


Date Time Of Last Edit: 2018-09-17 08:56:23