Subject: | MS Win/x64 - 5.26.0-RC1 + gcc-7.1 + mingw-w64-v5.0.2 failure |
The gcc-7.1 + mingw-w64-v5.0.2 is what will be bundled with strawberry perl 5.26.x series.
However Wx fails with "error: '_strtoi64' is not a member of 'std'"
g++ -m64 -O2 -mthreads -m64 -Os -c -I. -I.. -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -I. -I. -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -I. -I..\.. -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\tmpg\perl\lib\CORE" -DWXPL_EXT -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DWXPL_EXT -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA WebView.c
In file included from ..\../cpp/wxapi.h:57:0,
from WebView.c:23:
C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const string&, std::size_t*, int)':
C:\tmpg\perl\lib\CORE/perl.h:6265:25: error: '_strtoi64' is not a member of 'std'
# define strtoll _strtoi64 /* secret handshake */
^
C:\tmpg\perl\lib\CORE/perl.h:6265:25: note: suggested alternative:
In file included from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/cstdlib:75:0,
from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/stdlib.h:36,
from C:/tmpg/c/x86_64-w64-mingw32/include/assert.h:17,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/debug.h:14,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/defs.h:700,
from ..\../cpp/wxapi.h:26,
from WebView.c:23:
C:/tmpg/c/x86_64-w64-mingw32/include/stdlib.h:374:45: note: '_strtoi64'
__MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64(const char *_String,char **_EndPtr,int _Radix);
^~~~~~~~~
In file included from ..\../cpp/wxapi.h:57:0,
from WebView.c:23:
C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int)':
C:\tmpg\perl\lib\CORE/perl.h:6299:26: error: '_strtoui64' is not a member of 'std'
# define strtoull _strtoui64 /* secret handshake */
^
C:\tmpg\perl\lib\CORE/perl.h:6299:26: note: suggested alternative:
In file included from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/cstdlib:75:0,
from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/stdlib.h:36,
from C:/tmpg/c/x86_64-w64-mingw32/include/assert.h:17,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/debug.h:14,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/defs.h:700,
from ..\../cpp/wxapi.h:26,
from WebView.c:23:
C:/tmpg/c/x86_64-w64-mingw32/include/stdlib.h:376:54: note: '_strtoui64'
__MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64(const char *_String,char **_EndPtr,int _Radix);
^~~~~~~~~~
P.S. Alien::Wx seems to build & install fine
However Wx fails with "error: '_strtoi64' is not a member of 'std'"
g++ -m64 -O2 -mthreads -m64 -Os -c -I. -I.. -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -I. -I. -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -I. -I..\.. -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\tmpg\perl\lib\CORE" -DWXPL_EXT -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DWXPL_EXT -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA WebView.c
In file included from ..\../cpp/wxapi.h:57:0,
from WebView.c:23:
C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const string&, std::size_t*, int)':
C:\tmpg\perl\lib\CORE/perl.h:6265:25: error: '_strtoi64' is not a member of 'std'
# define strtoll _strtoi64 /* secret handshake */
^
C:\tmpg\perl\lib\CORE/perl.h:6265:25: note: suggested alternative:
In file included from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/cstdlib:75:0,
from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/stdlib.h:36,
from C:/tmpg/c/x86_64-w64-mingw32/include/assert.h:17,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/debug.h:14,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/defs.h:700,
from ..\../cpp/wxapi.h:26,
from WebView.c:23:
C:/tmpg/c/x86_64-w64-mingw32/include/stdlib.h:374:45: note: '_strtoi64'
__MINGW_EXTENSION _CRTIMP __int64 __cdecl _strtoi64(const char *_String,char **_EndPtr,int _Radix);
^~~~~~~~~
In file included from ..\../cpp/wxapi.h:57:0,
from WebView.c:23:
C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int)':
C:\tmpg\perl\lib\CORE/perl.h:6299:26: error: '_strtoui64' is not a member of 'std'
# define strtoull _strtoui64 /* secret handshake */
^
C:\tmpg\perl\lib\CORE/perl.h:6299:26: note: suggested alternative:
In file included from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/cstdlib:75:0,
from C:/tmpg/c/lib/gcc/x86_64-w64-mingw32/7.1.0/include/c++/stdlib.h:36,
from C:/tmpg/c/x86_64-w64-mingw32/include/assert.h:17,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/debug.h:14,
from C:\tmpg\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/defs.h:700,
from ..\../cpp/wxapi.h:26,
from WebView.c:23:
C:/tmpg/c/x86_64-w64-mingw32/include/stdlib.h:376:54: note: '_strtoui64'
__MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64(const char *_String,char **_EndPtr,int _Radix);
^~~~~~~~~~
P.S. Alien::Wx seems to build & install fine