Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

src/lib/librumphijack/hijack.c:274: warning: comparison between signed and unsigned



Hi,

with current source updated some minutes ago I get the following error
on i386 (at least):

dependall ===> librumphijack
    compile  librumphijack/hijack.pico
cc1: warnings being treated as errors
/u/NetBSD/src/lib/librumphijack/hijack.c: In function 'unmapdup2':
/u/NetBSD/src/lib/librumphijack/hijack.c:274: warning: comparison between 
signed and unsigned
/u/NetBSD/src/lib/librumphijack/hijack.c: In function 'fcntl':
/u/NetBSD/src/lib/librumphijack/hijack.c:1006: warning: comparison between 
signed and unsigned
/u/NetBSD/src/lib/librumphijack/hijack.c:1006: warning: signed and unsigned 
type in conditional expression

*** Failed target:  hijack.pico
*** Failed command: /u/NetBSD/arch/i386/TOOLS/bin/i486--netbsdelf-gcc -O2 -pipe 
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch 
-Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
-Wsign-compare -std=gnu99 -Werror -D_DIAGNOSTIC -D_REENTRANT -nostdinc -isystem 
/u/NetBSD/arch/i386/dest/usr/include -c -fPIC -DPIC 
/u/NetBSD/src/lib/librumphijack/hijack.c -o hijack.pico
*** Error code 1

Stop.

Kurt


Home | Main Index | Thread Index | Old Index