Subject: Re: Why is using "inline" as a variable name a parse error for our compiler?
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: David Jones <firstname.lastname@example.org>
Date: 07/18/1995 01:40:27
> Well yes. NetBSD's cc is basically gcc, and in gcc "inline" is a
> language keyword. Renaming the variable is perhaps the most obvious
> fix. I don't know whether any include files use inline (if they do,
> they should be changed to use __inline instead, because of exactly this
> sort of thing); you might be able to compile with -Dinline=xinline or
> some such, to rename the array.
What about using either -ansi or -ansi -pedantic?
I think -ansi disables most of the GNU extensions.
David Jones, M.A.Sc student, Electronics Group (VLSI), University of Toronto
email: email@example.com, finger for PGP public key
For a good time, telnet torfree.net and log in as `guest'.