Support Board
Date/Time: Thu, 23 Jan 2025 19:01:45 +0000
[User Discussion] - After update - compilation error w/ MinGW
View Count: 2486
[2017-04-08 20:03:58] |
jizzary - Posts: 177 |
can u psl check it out ? any changes made in scstructures.h triggered the below erros ? ------------------------------------------------------------------------ In file included from ..\scstructures.h:24:0, from ..\sierrachart.h:15, from ..\jabot.cpp:2: c:\__mingw32\include\c++\6.2.0\functional: In static member function 'static bool std::_Function_base::_Base_manager<_Functor>::_M_manager(std::_Any_data&, const std::_Any_data&, std::_Manager_operation)': c:\__mingw32\include\c++\6.2.0\functional:1611:63: error: there are no arguments to '_M_get_pointer' that depend on a template parameter, so a declaration of '_M_get_pointer' must be available [-fpermissive] __dest._M_access<_Functor*>() = _M_get_pointer(__source); ^ c:\__mingw32\include\c++\6.2.0\functional:1611:63: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) c:\__mingw32\include\c++\6.2.0\functional:1615:50: error: there are no arguments to '_Local_storage' that depend on a template parameter, so a declaration of '_Local_storage' must be available [-fpermissive] _M_clone(__dest, __source, _Local_storage()); ^ c:\__mingw32\include\c++\6.2.0\functional:1619:42: error: there are no arguments to '_Local_storage' that depend on a template parameter, so a declaration of '_Local_storage' must be available [-fpermissive] _M_destroy(__dest, _Local_storage()); ^ c:\__mingw32\include\c++\6.2.0\functional: In static member function 'static void std::_Function_base::_Base_manager<_Functor>::_M_init_functor(std::_Any_data&, _Functor&&)': c:\__mingw32\include\c++\6.2.0\functional:1627:62: error: there are no arguments to '_Local_storage' that depend on a template parameter, so a declaration of '_Local_storage' must be available [-fpermissive] { _M_init_functor(__functor, std::move(__f), _Local_storage()); } ^ |
[2017-04-10 09:33:53] |
jizzary - Posts: 177 |
Hi Do you intend to refer my problem ? i have upgraded the platfor, but can't use teh ACSIL source code that comes w/ it tnx |
[2017-04-10 17:01:36] |
Sierra Chart Engineering - Posts: 104368 |
We also use the Min GW compiler on our server for the Remote Build command on the Build Custom Studies DLL window. We do not encounter this with the latest header file. So we cannot reproduce the error. We do not know how to help with it. Does not make sense why it would be occurring. 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 Date Time Of Last Edit: 2017-04-10 17:02:48
|
[2017-04-11 12:33:11] |
jizzary - Posts: 177 |
will check for more the details may be the problem is at my end ... though i never make mistakes :-) |
[2017-04-21 09:57:15] |
jizzary - Posts: 177 |
may be the issue is the result of compiler switches you use which i should imitate ? can you pls advise the set of compilation switched you are using ? tnx |
[2017-04-21 17:47:09] |
Sierra Chart Engineering - Posts: 104368 |
i686-w64-mingw32-g++ -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 '$FileName' -o Output.dll -Wno-deprecated
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 |
[2018-12-05 02:45:24] |
ganz - Posts: 1048 |
fyi: some issues were arising from time to time using mingw-g++ it was happened on windows but wasn't on linux using the same version |
[2018-12-05 04:09:11] |
ganz - Posts: 1048 |
priyanshv using this installer try 7.3 or 5.4 as the quite well tested ones https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download |
To post a message in this thread, you need to log in with your Sierra Chart account: