Date: Tue, 19 Aug 1997 14:20:28 -0700 (PDT) From: Jaye Mathisen <mrcpu@cdsnet.net> To: hackers@freebsd.org, ports@freebsd.org Subject: vm86.h compile warning Message-ID: <Pine.NEB.3.95.970819141906.17998E-100000@mail.cdsnet.net>
index | next in thread | raw e-mail
I have no idea if this warning is apropos to this header file or not, and
I wouldn't deign to guess at it's correctness.
I just point it out because I don't like warnings that tell me I'm
probably not getting what I bargained for. :)
Build of skill-3.7.4 on -current:
===> Configuring for skill-3.7.4
Configuring as bsd44: OSTYPE=bsd-44 COPTS= LIBS=-lkvm
===> Building for skill-3.7.4
cc -O -c main.c
cc -O -c argparse.c
rm -f getproc.c getproc.o
ln -s machdep/bsd-44.c getproc.c
cc -O -c getproc.c
In file included from /usr/include/machine/pcb_ext.h:36,
from /usr/include/machine/pcb.h:48,
from /usr/include/sys/user.h:40,
from getproc.c:22:
/usr/include/machine/vm86.h:109: warning: `struct proc' declared inside
parameter list
/usr/include/machine/vm86.h:109: warning: its scope is only this
definition or declaration,
/usr/include/machine/vm86.h:109: warning: which is probably not what you
want.
cc -O main.o argparse.o getproc.o -o skill -lkvm
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970819141906.17998E-100000>
