Subject: | Compiler warnings |
The following compiler warning occur while making Event under Perl 5.8.8
with gcc 3.4.4
gcc -c -Ic -Ilib/Event -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -DUSEIMPORTLIB -O3 -pipe
-funit-at-a-time -mtune=pentium4m -march=pentium4 -mfpmath=sse -mieee-fp
-mmmx -msse -msse2 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\"
"-I/usr/lib/perl5/5.8/cygwin/CORE" Event.c
In file included from Event.xs:267:
c/typemap.c: In function `event_2sv':
c/typemap.c:109: warning: cast from pointer to integer of different size
c/typemap.c: In function `sv_2event':
c/typemap.c:126: warning: cast to pointer from integer of different size
In file included from Event.xs:276:
c/var.c: In function `tracevar_r':
c/var.c:51: warning: cast to pointer from integer of different size
c/var.c: In function `tracevar_w':
c/var.c:53: warning: cast to pointer from integer of different size
c/var.c: In function `pe_var_start':
c/var.c:89: warning: cast from pointer to integer of different size
In file included from Event.xs:277:
c/signal.c: In function `pe_signal_start':
c/signal.c:69: warning: passing arg 3 of `Perl_rsignal' from
incompatible pointer type
c/signal.c: In function `pe_signal_stop':
c/signal.c:79: warning: passing arg 3 of `Perl_rsignal' from
incompatible pointer type
Event.xs: In function `XS_Event_cache_time_api':
Event.xs:398: warning: cast to pointer from integer of different size