From owner-freebsd-questions Mon Nov 22 19: 4:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id BCA4B14F50 for ; Mon, 22 Nov 1999 19:04:13 -0800 (PST) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from localhost.hell.gr (patr530-a012.otenet.gr [195.167.115.12]) by athserv.otenet.gr (8.9.3/8.9.3) with SMTP id FAA11693 for ; Tue, 23 Nov 1999 05:03:37 +0200 (EET) Received: (qmail 606 invoked by uid 1001); 23 Nov 1999 02:50:40 -0000 To: freebsd-questions@freebsd.org Subject: Re: This compiles under 2.2 but not 3.3 References: From: Giorgos Keramidas Date: 23 Nov 1999 04:50:40 +0200 In-Reply-To: Cliff Addy's message of "Mon, 22 Nov 1999 12:40:23 -0500 (EST)" Message-ID: <86n1s5or9b.fsf@localhost.hell.gr> Lines: 29 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cliff Addy writes: > 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' One of the first error lines notes: /usr/include/machine/cpufunc.h:157: `u_char' undeclared Including before solves this problem, and it all compiles like a charm :) -- Giorgos Keramidas, "What we have to learn to do, we learn by doing." [Aristotle] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message