Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
i386_get_ioperm.c:40:1: error: old-style function definition
Using a machine with NetBSD 6.99.4 (GENERIC) amd64, having reverted to
current sets from 2012-03-20 due to the apparently now fixed setmod
problem,
./build.sh -O ../obj -T ../tools -U -u distribution
produces an error:
# compile libarch/i386_get_ioperm.o
/usr/src/../tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -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 -Wno-sign-compare -Wold-style-definition
-Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -m32
-m32 --sysroot=/usr/src/../obj/destdir.amd64 -c
/usr/src/lib/libarch/i386/i386_get_ioperm.c -o i386_get_ioperm.o
cc1: warnings being treated as errors
/usr/src/lib/libarch/i386/i386_get_ioperm.c: In function 'i386_get_ioperm':
/usr/src/lib/libarch/i386/i386_get_ioperm.c:40:1: error: old-style
function definition
*** Failed target: i386_get_ioperm.o
*** Failed command: /usr/src/../tools/bin/x86_64--netbsd-gcc -O2
-std=gnu99 -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 -Wno-sign-compare
-Wold-style-definition -Wsign-compare -Wformat=2
-Wno-format-zero-length -Werror -m32 -m32
--sysroot=/usr/src/../obj/destdir.amd64 -c
/usr/src/lib/libarch/i386/i386_get_ioperm.c -o i386_get_ioperm.o
*** Error code 1
/usr/obj and /usr/tools had been cleaned out completely prior to the build.
Home |
Main Index |
Thread Index |
Old Index