[Info-vax] Rust as a HS language, was: Re: Quiet?
Dan Cross
cross at spitfire.i.gajendra.net
Mon Apr 11 10:39:54 EDT 2022
In article <jbg57cFl3udU1 at mid.individual.net>,
Bill Gunshannon <bill.gunshannon at gmail.com> wrote:
>On 4/9/22 20:35, Arne Vajhøj wrote:
>> In that case I think most K&R C code should compile with ANSI C.
>
>Trivial programs, probably. I just tried to compile a couple pieces
>of the Ultrix-11 3.1 source with gcc and after over 100 warnings and
>4 errors in a 1000 line piece of code it just stops.
Compiling software written with intimiate knowledge of its 16bit
target platform on a modern 32- or 64- bit host? I'm not at all
surprised that doesn't compile out of the box.
Ultrix-11 probably does all sorts of type punning between
integers and pointers, and may declare "standard" functions
incompatibly with respect to their modern definitions.
- Dan C.
More information about the Info-vax
mailing list