🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.amiga
Article #5166

Re: Manx Compiler +l bug(?)

#5166
From: Stephen R. Walton
Date: Wed, 29 Oct 1986 06:51
16 lines
1391 bytes
In article <988@tekigm.UUCP> phils@tekigm.UUCP (Phil Staub) writes:

>While trying to compile the MicroEMACS 3.7 sources with the Manx 3.20a
>compiler, I ran into a problem with the #if'd code used to select
>machine/compiler/os environment.
>
>Problem:
>	Error #109's to say that the if values need to be integer
>	constants, but only if I compile with 32 bit ints. Compilation with
>	16 bit ints works as expected.

and then an example using #if with operators & and |.  Short answer:  yes,
it's a bug, to be fixed on the next release of Aztec C.  Longer answer:
for a good fix, albeit a bit slow, try the port of the Decus preprocessor
on Fish disk 28;  there is a cc command which invokes this cpp and the
Aztec compiler in sequence.
Technical Details
Message-ID: <1990@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!think!nike!lll-crg!lll-lcc!well!swalton
References: <988@tekigm.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!think!nike!lll-crg!lll-lcc!well!swalton
From: swalton@well.UUCP (Stephen R. Walton)
Newsgroups: net.micro.amiga
Subject: Re: Manx Compiler +l bug(?)
Message-ID: <1990@well.UUCP>
Date: Wed, 29-Oct-86 01:51:00 EST
Article-I.D.: well.1990
Posted: Wed Oct 29 01:51:00 1986
Date-Received: Wed, 29-Oct-86 21:56:32 EST
References: <988@tekigm.UUCP>
Reply-To: swalton@well.UUCP (Stephen R. Walton)
Distribution: net
Organization: Whole Earth Lectronic Link, Sausalito CA
Lines: 16
Keywords: Manx C ifdef bug
Summary: Yes it's a bug.  Fixed soon.