🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1521

Re: Emacs with GCC 2.3.3

#1521
From: Michael Traub
Date: Sat, 02 Jan 1993 16:50
22 lines
1293 bytes
In article <C04Exp.4u@fulcrum.co.uk> I.G.Batten@fulcrum.co.UK (Ian G Batten, Ian G Batten) writes:
>My previous message is in error.  The mistake was that I had not run the
>fixincludes script.  Interestingly, emacs compile correctly without
>fixincludes having been run but does not execute correctly.

Not that interesting. Many old compilers have macros for ioctls like so:

#define TIOCSETD        _IOW('t', 1, int)    /* set line discipline */

Which won't work with an Ansi compiler (you'll just get an ioctl with
the character 't' as the argument). Fixincludes changes them to:

#define TIOCSETD        _IOW(t, 1, int)      /* set line discipline */


It's not surprising that your un'fixinclude'd version didn't work.



-- 
Michael Traub
BT Customer Systems, Brighton Systems Centre. traub@btcs.bt.co.uk
Technical Details
Message-ID: <1993Jan2.165011.21448@rtf.bt.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!btcs.bt.co.UK!traub
References: <C04Exp.4u@fulcrum.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!btcs.bt.co.UK!traub
From: traub@btcs.bt.co.UK (Michael Traub)
Subject: Re: Emacs with GCC 2.3.3
Message-ID: <1993Jan2.165011.21448@rtf.bt.co.uk>
Sender: gnulists@ai.mit.edu
Organization: BT Customer Systems, Brighton, UK
References: <C04Exp.4u@fulcrum.co.uk>
Distribution: gnu
Date: Sat, 2 Jan 1993 16:50:11 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 23