Path: utzoo!attcan!uunet!mcvax!unido!infko!droege From: droege@infko.UUCP (Detlev Droege) Newsgroups: comp.os.minix Subject: Re: POSIX and the future of MINIX C Summary: agcpp is buggy Keywords: ANSI-C cpp Message-ID: <495@infko.UUCP> Date: 28 Feb 89 15:13:53 GMT References: <552@eecea.eece.ksu.edu> <11100001@nixbln> Reply-To: droege@infko.UUCP (Detlev Droege) Organization: University of Koblenz (EWH), West Germany Lines: 43 In article <11100001@nixbln> agc@nixbln.UUCP writes: > >Here's an (almost) ANSI-C conforming pre-processor. Please note that I >haven't tested it under Minix. Please also note that there are two shell >archives here. Now, how do I post this using notes? > >Regards, >Alistair G. Crooks, Well, it's a fine idea, but there seems to be a nasty bug. I made it run on a SUN (4.2BSD) and another UNIX box (AT&T Sys V), but in both cases the "squeeze long id-names" feature didn't work. Example: main () { int long_name1; int long_name2; int long_name3; exit (0); } yields in main () { int long_name1; int i00000; int i00000; /* <<<=== baaahhh !!! */ exit (0); } I couldn't trace down the bug in agcpp itself, maybe someone else did ... Waiting for agcpp-patch#1 Detlev -- Detlev Droege, Univ. of Koblenz (EWH), Dept. of Computer Sience Rheinau 3-4, D-5400 Koblenz (West Germany) UUCP: ..!unido!infko!droege droege@infko.UUCP (Voice: +49 261 12156)