Newsgroups: comp.sys.amiga.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Subject: Re: Manx/Lattice ENOUGH IS ENOUGH
Message-ID: <1991May27.125456.27018@sugar.hackercorp.com>
Keywords: manx lattice conversion compatibility library
Organization: Sugar Land Unix -- Houston, TX
References: <1991May26.022108.7901@sugar.hackercorp.com> <1991May26.172439.2021@NCoast.ORG>
Date: Mon, 27 May 1991 12:54:56 GMT

In article <1991May26.172439.2021@NCoast.ORG> davewt@NCoast.ORG (David Wright) writes:
> In article <1991May26.022108.7901@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes:
> >conversions of Lattice programs (and getting ticked off at Lattice for
> >not following the ANSI spec all the way). I'm sure other people are doing
> 	They do much more so than Manx, who only recently added any kind of
> ANSI compliance. I don't use many esoteric features of the ANSI standard,
> but I have yet to find something that SAS/C does incorrectly.

Well, I'm trying to convert a program full of things like:

	int a(char b, float c);

	...

	int a(b, c)
	char b;
	float c;

These are not compatible declarations. Because of the promotion rules, the
latter is equivalent to:

	int a(int b, double c);

> 	Or even more alternatively, you could just have people throw Manx C
> into the circular file (where IMHO it has belonged for more than 3 years)
> ASAP :-)

And in a year or so the shoe will be on the other foot. Both compilers have
been the obvious best choice at different times. Right now they're pretty
much a tossup.

> What can you say about a C compiler that produces non-standard object modules
> so you can't link with modules produced with other languages?

What can you say about a C compiler that doesn't use a standard makefile
compatible linker? With Manx I can port UNIX C code pretty much straight.

This is a "quality of implementation" issue, but isn't that the point?

As for standard object modules, Manx switched over years ago. When it was
originally written, the standard module handling tools were pretty damn
primitive. They made a judgement call, got it wrong, and fixed it.

When is SAS going to let me type "ln *.o -o program -lc"?
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
