C++ to C++11 in gcc MinGW missing function -


I tried to use SimpleIni "Library" ... this is basically a header:

  G ++ test.cpp  

this works fine

  g ++ -std = c ++ 11 test.cpp  

> Output:

  SimpleIni.h: member function 'SI_Error CSimpleIniTempl & LT; SI_CHAR, SI_STRLESS, SI_CONVERTER & gt; :: LoadFile (constant wchar_t *) ': SimpleIni.h: 1328: 35: Erreur: If there are' _wfopen 'that depend on the template parameters, then' _wfopen 'should be announced to have no arguments available [ Fpermissive] SimpleIni.h: 1328: 35: Note: (If you use '-fpermissive', G ++ will accept your code, but the permission of the use of an undeclared name has been removed) SimpleIni .h: Member Function 'SI_Error CSimpleIniTempl & LT; SI_CHAR, SI_STRLESS, SI_CONVERTER & gt; :: savefile (constants wchar_t *, bool) in constants: SimpleIni.h: 2343: 35: error: there is no argument for '_wfopen' which are dependent on the template parameter, hence the announcement of '_wfopen' should be available [-Fermis sive] SimpleIni.h: Member 'bool SI_NoCase & LT; SI_CHAR> :: operator () (constants SI_CHAR *, constants SI_CHAR *) constants': SimpleIni.h: 3214: 46: Erreur: If there are any arguments to '_mbsicmp' that depend on the template parameter, then '_mbsicmp' The announcement must be available e [-fpermissive] SimpleIni.h: 3218: 40: Erreur: There is no argument to '_wcsicmp' that depend on template parameters, then '_wcsicmp' should be available to see an announcement and [-fpermissive]  

I tried to use strcasecmp instead, but the same thing, M InGW is not available on C ++ 11. I really can not understand why I can not use some functionality from C

Is there any way to solve this problem?


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -