Subject: | 64bit MS Windows failure (Controls.c) |
Hi,
during my tests on 64bit Strawberry Perl 5.12.0-RC0 + Wx-0.9701 I have eperienced the following error:
g++ -fvtable-thunks -O2 -mthreads -Os -c -I. -I. -ID:\strawberry64\perl\site\lib\Alien\wxWidgets\msw_2_8_10_uni_gcc_3_4\lib -ID:\strawberry64\perl\site\lib\A
lien\wxWidgets\msw_2_8_10_uni_gcc_3_4\include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.9701\" -DXS_VERSION=\"0.9701\" "-ID:\strawberry64\perl\lib\CORE" -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA Controls.c
cc1plus.exe: warning: switch '-fvtable-thunks' is no longer supported
Controls.c: In function 'void XS_Wx__ListCtrl_SortItems(PerlInterpreter*, CV*)':
Controls.c:21328: error: cast from 'SV*' to 'long int' loses precision
dmake.EXE: Error code 129, while making 'Controls.o'
Note: on 64bit MS Windows sizeof(*void) == 8 however sizeof(long int) == 4 therefore casting pointer to longint raises an error
--
kmx
during my tests on 64bit Strawberry Perl 5.12.0-RC0 + Wx-0.9701 I have eperienced the following error:
g++ -fvtable-thunks -O2 -mthreads -Os -c -I. -I. -ID:\strawberry64\perl\site\lib\Alien\wxWidgets\msw_2_8_10_uni_gcc_3_4\lib -ID:\strawberry64\perl\site\lib\A
lien\wxWidgets\msw_2_8_10_uni_gcc_3_4\include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.9701\" -DXS_VERSION=\"0.9701\" "-ID:\strawberry64\perl\lib\CORE" -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA Controls.c
cc1plus.exe: warning: switch '-fvtable-thunks' is no longer supported
Controls.c: In function 'void XS_Wx__ListCtrl_SortItems(PerlInterpreter*, CV*)':
Controls.c:21328: error: cast from 'SV*' to 'long int' loses precision
dmake.EXE: Error code 129, while making 'Controls.o'
Note: on 64bit MS Windows sizeof(*void) == 8 however sizeof(long int) == 4 therefore casting pointer to longint raises an error
--
kmx