Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 08:18:25 +0000



Post From: After update - compilation error w/ MinGW

[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()); }
^