Date: Mon, 22 Nov 1999 12:40:23 -0500 (EST) From: Cliff Addy <fbsdlist@federation.addy.com> To: questions@FreeBSD.ORG Subject: This compiles under 2.2 but not 3.3 Message-ID: <Pine.BSF.3.95q.991122123451.10222A-100000@federation.addy.com> In-Reply-To: <38397036.1F64FFC8@heartland.ab.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
I have a small program, the sum total of the source code is: #include <stdio.h> #include <machine/cpufunc.h> void main() { char value; value = inb (0x180); } This compiles fine under 2.2.2 but blows up with syntax errors in cpufunc.h under 3.3, the first of which is: /usr/include/machine/cpufunc.h:155: parse error before `inbc' My guess is that I need to include some other header, but which? Or is it something else entirely? Cliff 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?Pine.BSF.3.95q.991122123451.10222A-100000>