From owner-freebsd-questions Mon Nov 22 9:41: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from federation.addy.com (federation.addy.com [208.11.142.20]) by hub.freebsd.org (Postfix) with ESMTP id 5B35D15252 for ; Mon, 22 Nov 1999 09:40:48 -0800 (PST) (envelope-from fbsdlist@federation.addy.com) Received: from localhost (fbsdlist@localhost) by federation.addy.com (8.8.5/8.6.12) with SMTP id MAA10714 for ; Mon, 22 Nov 1999 12:40:29 -0500 (EST) Date: Mon, 22 Nov 1999 12:40:23 -0500 (EST) From: Cliff Addy To: questions@FreeBSD.ORG Subject: This compiles under 2.2 but not 3.3 In-Reply-To: <38397036.1F64FFC8@heartland.ab.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a small program, the sum total of the source code is: #include #include 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