Current-Users archive

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

Build failure (nand.h)



Hi.

While building modules:

#   compile  nand/nand.o
/usr/tools/bin/x86_64--netbsd-gcc -O2 -Wall -Wstrict-prototypes
# -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
# - -Wa,--fatal-warnings  -Werror  -ffreestanding -fstack-protector
# - - -Wstack-protector --param ssp-buffer-size=1 -fno-strict-aliasing
# - - - -Wno-pointer-sign -mno-red-zone -mcmodel=kernel
# - - - - -I/usr/src/common/include -I/usr/src/common/include  -nostdinc -I.
# - - - - - -I/usr/src/sys/modules/nand -isystem /usr/src/sys -isystem
# - - - - - - /usr/src/sys/arch -isystem /usr/src/sys/../common/include
# - - - - - - / -D_KERNEL -D_LKM -D_MODULE -c
# - - - - - - / - /usr/src/sys/dev/nand/nand.c
In file included from /usr/src/sys/dev/nand/nand.c:48:
/usr/src/sys/dev/nand/nand.h: In function 'nand_dump_data':
/usr/src/sys/dev/nand/nand.h:458: error: 'for' loop initial declaration used
/  outside C99 mode

- Jukka.


Home | Main Index | Thread Index | Old Index