Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 11:04:24 -0600
From:      "Eric C. Krutz" <eric@becs.com>
To:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   GENERIC Kernel Compile
Message-ID:  <003801be3e4d$9ab3c870$d611bbce@webmonitor.becs.com>

next in thread | raw e-mail | index | archive | help
I have a 486, and I was just testing a compile on the 3.0 stable GENERIC
kernel when I saw the following warnings interspersed in the rest of the
standard out. Are any of these of consequence or worry?


# make depend

make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
Warning: Object directory not changed from original /sys/compile/GENERIC
yacc -d ../../dev/aic7xxx/aicasm_gram.y


# make

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../pci/if_vx_pci.c
../../pci/if_vx_pci.c: In function `vx_pci_attach':
../../pci/if_vx_pci.c:127: warning: passing arg 2 of `pci_map_int' from
incompat
ible pointer type

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../pci/pci.c
../../pci/pci.c: In function `pci_ioctl':
../../pci/pci.c:770: warning: flag `#' used with type `p'
../../pci/pci.c:805: warning: flag `#' used with type `p'

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../pci/pcisupport.c
../../pci/pcisupport.c: In function `vga_probe':
../../pci/pcisupport.c:1166: warning: return discards `const' from pointer
targe
t type

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../ufs/ufs/ufs_disksubr.c
../../ufs/ufs/ufs_disksubr.c: In function `diskerr':
../../ufs/ufs/ufs_disksubr.c:374: warning: zero-length format string

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../i386/i386/busdma_machdep.c
../../i386/i386/busdma_machdep.c: In function `bus_dmamap_load':
../../i386/i386/busdma_machdep.c:440: warning: `nextpaddr' might be used
uniniti
alized in this function

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../i386/i386/userconfig.c
../../i386/i386/userconfig.c: In function `helpscreen':
../../i386/i386/userconfig.c:1941: warning: `line' might be used
uninitialized i
n this function

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../i386/isa/scd.c
../../i386/isa/scd.c: In function `scd_probe':
../../i386/isa/scd.c:152: warning: can't inline call to `write_control'
../../i386/isa/scd.c:714: warning: called from here

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exte
rns
-Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuniniti
aliz
ed -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../..
/inc
lude  -DKERNEL -include opt_global.h -aout  ../../pci/ide_pci.c
../../pci/ide_pci.c: In function `ide_pci_attach':
../../pci/ide_pci.c:1062: warning: passing arg 2 of `pci_map_int' from
incompati
ble pointer type
../../pci/ide_pci.c:1077: warning: passing arg 2 of `pci_map_int' from
incompati
ble pointer type
../../pci/ide_pci.c:1087: warning: passing arg 2 of `pci_map_int' from
incompati
ble pointer type
../../pci/ide_pci.c:938: warning: `class' might be used uninitialized in
this fu
nction


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003801be3e4d$9ab3c870$d611bbce>