----- Original Message ----- 
From: "InSuk Joung" <[email protected]>

gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables   -DVERSION=\"2.4.4\" -DXS_VERSION=\"2.4.4\"
-fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"  -DPDL_PTHREAD
Core.c
Core.xs: In function ‘XS_PDL_DESTROY’:
Core.xs:291: warning: statement with no effect
Core.xs:294: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘struct pdl *’
Core.c: In function ‘XS_PDL_get_trans’:
Core.c:322: warning: unused variable ‘RETVAL’
Core.xs: In function ‘XS_PDL_set_data_by_mmap’:
Core.xs:509: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘void *’
Core.xs:495: warning: ignoring return value of ‘ftruncate’, declared with
attribute warn_unused_result
Core.xs:496: warning: ignoring return value of ‘ftruncate’, declared with
attribute warn_unused_result
Core.c: In function ‘XS_PDL__Core_pdl_avref’:
Core.xs:906: warning: unused variable ‘i’
Core.c:1133: warning: unused variable ‘RETVAL’
Core.c: In function ‘XS_PDL_pdl_null’:
Core.c:1184: warning: unused variable ‘items’
Core.c: In function ‘XS_PDL_initialize’:
Core.c:1349: warning: unused variable ‘RETVAL’
Core.c: In function ‘XS_PDL_upd_data’:
Core.c:1420: warning: unused variable ‘targ’
Core.c:1419: warning: unused variable ‘RETVAL’
Core.c: In function ‘XS_PDL_getndims’:
Core.c:1478: warning: unused variable ‘ix’
Core.c: In function ‘XS_PDL_getdim’:
Core.c:1499: warning: unused variable ‘ix’
Core.c: In function ‘XS_PDL_sethdr’:
Core.xs:1176: warning: unused variable ‘hash’
Core.xs: In function ‘XS_PDL_threadover_n’:
Core.xs:1279: warning: suggest parentheses around assignment used as truth
value
Core.xs: In function ‘XS_PDL_threadover’:
Core.xs:1297: warning: unused variable ‘j’
Core.c: In function ‘XS_PDL__Core_listref_c’:
Core.xs:725: warning: ‘pdl_badval’ may be used uninitialized in this
function
/usr/bin/perl "-I../../blib/arch" "-I../../blib/lib" pdlcore.c.PL pdlcore.c
Extracting pdlcore.c (WITH bad value support)
     Trying finite: math.h...

================================================

I get most of those warnings if I build with -Wall. I don't get the 
'ftruncate' warning, but I think I get the others - yet PDL builds and tests 
fine for me.

What's the actual error that's killing the build ? (Mere warnings will not 
prevent PDL from building.)

Cheers,
Rob


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to