Subject: | Compilation warnings while installing Win32::GuiTest |
Hi,
I could install Win32::GuiTest, but saw these warnings. Please check if
you need to fix them. Attached text file contains more details.
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVC
RT_READFIX -s -O2 -DVERSION=\"1.58\" -DXS_VERSION=\"1.58\"
"-IC:\str
awberry\perl\lib\CORE" GuiTest.cpp
GuiTest.xs: In function 'int GetLVItemText(HWND__*, int, int, char*)':
GuiTest.xs:346: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'WINBOOL SelLVItem(HWND__*, int, WINBOOL)':
GuiTest.xs:361: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'WINBOOL SelLVItemText(HWND__*, char*, WINBOOL)':
GuiTest.xs:371: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'WINBOOL IsLVItemSel(HWND__*, char*)':
GuiTest.xs:382: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'WINBOOL SelTVItemPath(HWND__*, char*)':
GuiTest.xs:393: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'int GetTVSelPath(HWND__*, char*)':
GuiTest.xs:403: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'int GetTCItemText(HWND__*, int, char*)':
GuiTest.xs:414: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'WINBOOL SelTCItem(HWND__*, int)':
GuiTest.xs:427: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'WINBOOL SelTCItemText(HWND__*, char*)':
GuiTest.xs:436: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'WINBOOL IsTCItemSel(HWND__*, char*)':
GuiTest.xs:447: warning: deprecated conversion from string constant to
'char*'
GuiTest.xs: In function 'HWND__* PopupHandleGet(HWND__*, int, int, int)':
GuiTest.xs:656: warning: deprecated conversion from string constant to
'char*'
Thanks,
Yogesh Sawant
Subject: | Installing_Win32_GuiTest.txt |
C:\y\personal\CPAN_trials>perl -MCPAN -e "install Win32::GuiTest"
Database was generated on Thu, 13 Jan 2011 05:05:04 GMT
Running install for module 'Win32::GuiTest'
Running make for K/KA/KARASIK/Win32-GuiTest-1.58.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\K\KA\KARASIK\Win32-GuiTest-1.
58.tar.gz ok
CPAN.pm: Going to build K/KA/KARASIK/Win32-GuiTest-1.58.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::GuiTest
cp lib/Win32/GuiTest/GuiTest.pc blib\lib\Win32\GuiTest\GuiTest.pc
cp lib/Win32/GuiTest/Examples.pm blib\lib\Win32\GuiTest\Examples.pm
cp lib/Win32/GuiTest.pm blib\lib\Win32\GuiTest.pm
cp lib/Win32/GuiTest/Cmd.pm blib\lib\Win32\GuiTest\Cmd.pm
C:\strawberry\perl\bin\perl.exe -IC:\strawberry\perl\lib -IC:\strawberry\perl\li
b C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUti
ls\typemap -typemap perlobject.map -typemap typemap GuiTest.xs >xstmp.c && C:\st
rawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- xstmp.c GuiTest.cpp
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVC
RT_READFIX -s -O2 -DVERSION=\"1.58\" -DXS_VERSION=\"1.58\" "-IC:\str
awberry\perl\lib\CORE" GuiTest.cpp
GuiTest.xs: In function 'int GetLVItemText(HWND__*, int, int, char*)':
GuiTest.xs:346: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'WINBOOL SelLVItem(HWND__*, int, WINBOOL)':
GuiTest.xs:361: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'WINBOOL SelLVItemText(HWND__*, char*, WINBOOL)':
GuiTest.xs:371: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'WINBOOL IsLVItemSel(HWND__*, char*)':
GuiTest.xs:382: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'WINBOOL SelTVItemPath(HWND__*, char*)':
GuiTest.xs:393: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'int GetTVSelPath(HWND__*, char*)':
GuiTest.xs:403: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'int GetTCItemText(HWND__*, int, char*)':
GuiTest.xs:414: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'WINBOOL SelTCItem(HWND__*, int)':
GuiTest.xs:427: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'WINBOOL SelTCItemText(HWND__*, char*)':
GuiTest.xs:436: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'WINBOOL IsTCItemSel(HWND__*, char*)':
GuiTest.xs:447: warning: deprecated conversion from string constant to 'char*'
GuiTest.xs: In function 'HWND__* PopupHandleGet(HWND__*, int, int, int)':
GuiTest.xs:656: warning: deprecated conversion from string constant to 'char*'
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVC
RT_READFIX -s -O2 -DVERSION=\"1.58\" -DXS_VERSION=\"1.58\" "-IC:\str
awberry\perl\lib\CORE" DibSect.cpp
Running Mkbootstrap for Win32::GuiTest ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 GuiTest.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Win32::GuiTest\", 'DLBASE' => 'GuiTest', 'DL_FUNCS
' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def GuiTest.def --output-exp dll.exp
g++ -o blib\arch\auto\Win32\GuiTest\GuiTest.dll -Wl,--base-file -Wl,dll.base -md
ll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" GuiTest.o DibSect.
o -Wl,--image-base,0x22060000 C:\strawberry\perl\lib\CORE\libperl512.a -lmoldna
me -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole3
2 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbcc
p32 -lcomctl32 dll.exp
dlltool --def GuiTest.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Win32\GuiTest\GuiTest.dll -mdll -s -L"C:\strawberry\perl\l
ib\CORE" -L"C:\strawberry\c\lib" GuiTest.o DibSect.o -Wl,--image-base,0x22060000
C:\strawberry\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi3
2 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luui
d -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch\
auto\Win32\GuiTest\GuiTest.dll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- GuiTest.bs blib\a
rch\auto\Win32\GuiTest\GuiTest.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 blib\arch\
auto\Win32\GuiTest\GuiTest.bs
KARASIK/Win32-GuiTest-1.58.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/01_basic.t ......... ok
t/02_calc.t .......... ok
t/03_cpl.t ........... ok
t/04_std.t ........... ok
t/05_which.t ......... ok
t/06_sendkeys.t ...... ok
t/98_pod.t ........... skipped: Test::Pod 1.00 required for testing POD
t/99_pod_coverage.t .. skipped: Test::Pod::Coverage required for testing POD cov
erage
All tests successful.
Files=8, Tests=96, 15 wallclock secs ( 0.09 usr + 0.06 sys = 0.16 CPU)
Result: PASS
KARASIK/Win32-GuiTest-1.58.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- OK
Running make install
Prepending C:\strawberry\cpan\build\Win32-GuiTest-1.58-eIdWLZ/blib/arch C:\straw
berry\cpan\build\Win32-GuiTest-1.58-eIdWLZ/blib/lib to PERL5LIB for 'install'
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\strawberry\perl\site\lib\auto\Win32\GuiTest\GuiTest.bs
Installing C:\strawberry\perl\site\lib\auto\Win32\GuiTest\GuiTest.dll
Installing C:\strawberry\perl\site\lib\Win32\GuiTest.pm
Installing C:\strawberry\perl\site\lib\Win32\GuiTest\Cmd.pm
Installing C:\strawberry\perl\site\lib\Win32\GuiTest\Examples.pm
Installing C:\strawberry\perl\site\lib\Win32\GuiTest\GuiTest.pc
Appending installation info to C:\strawberry\perl\lib/perllocal.pod
KARASIK/Win32-GuiTest-1.58.tar.gz
C:\strawberry\c\bin\dmake.EXE install UNINST=1 -- OK
C:\y\personal\CPAN_trials>