Date: Sat, 23 Nov 1996 00:11:37 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: Re: cdrom boot? Message-ID: <199611222311.AAA29000@uriah.heep.sax.de> In-Reply-To: <199611222115.OAA15993@phaeton.artisoft.com> from Terry Lambert at "Nov 22, 96 02:15:07 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Terry Lambert wrote:
> > Isn't there unprotoize in the gcc distribution that does this?
> I think you are thinking of "protoize". I think there might be an
> unprotoize, but I think the idea of the GCC crowd is to move toward
> ANSI code, not away.
Well, thinking doesn't exactly seem to be your best task these days,
Terry? :-))
protoize(1) used to be accompanied by unprotoize(1) in the gcc
distribution for a long time. They use the gcc parser with a special
shortcut that causes it to dump its internal structures in a C
notation.
> Depending on the compiler and the code, you may see problems with
> const, volatile, and structure assignments. There are also problems
> with agregate initialization of structure arrays (it works in K&R using
> "{" based scoping, but fails in GCC).
You forgot the split strings. Something like
char foo[] = "This should \x1b" "creset your ANSI terminal.\n";
...which couldn't be expressed unambiguously in pre-ANSI C.
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611222311.AAA29000>
