Path: utzoo!attcan!uunet!mcsun!ukc!acorn!john From: john@acorn.co.uk (John Bowler) Newsgroups: comp.windows.x Subject: Re: GCC bug in SeeTeX 2.14 Message-ID: <1760@acorn.co.uk> Date: 1 Mar 90 13:53:21 GMT References: <5538@ists.ists.ca> Reply-To: john@acorn.UUCP (John Bowler) Organization: Acorn Computers Ltd, Cambridge, UK Lines: 23 In article <5538@ists.ists.ca> mike@ists.ists.ca.ists.ca (Mike Clarkson) writes: >/usr2/local/X.V11R4/contrib/clients/xtex > >GNU CC doesn't like these STDC conditionals. >They should be changeed to a more specific conditionalization. >Sun cc passes them OK. >(SeeTex 2.14, Sun OS 3.5, X11R4 PL2, GCC 1.35) > >Mike. > >Mftobdf/mftobdf.c:#ifdef __STDC__ ...etc... They look OK to me, at least they are valid ANSI C. Technically to test for ANSI C the #ifdef should be followed by:- #if __STDC__ == 1 but this seems unreasonably enthusiastic (and omitting the #ifdef would seem to rely too much on having a preprocessor which converts unrecognised tokens to ``0''). John Bowler (jbowler@acorn.co.uk)