home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: 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
-
- 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
-
-