home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / bug / 3102 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.2 KB  |  37 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!btcs.bt.co.UK!traub
  3. From: traub@btcs.bt.co.UK (Michael Traub)
  4. Subject: Re: Emacs with GCC 2.3.3
  5. Message-ID: <1993Jan2.165011.21448@rtf.bt.co.uk>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: BT Customer Systems, Brighton, UK
  8. References: <C04Exp.4u@fulcrum.co.uk>
  9. Distribution: gnu
  10. Date: Sat, 2 Jan 1993 16:50:11 GMT
  11. Approved: bug-gcc@prep.ai.mit.edu
  12. Lines: 23
  13.  
  14. In article <C04Exp.4u@fulcrum.co.uk> I.G.Batten@fulcrum.co.UK (Ian G Batten, Ian G Batten) writes:
  15. >My previous message is in error.  The mistake was that I had not run the
  16. >fixincludes script.  Interestingly, emacs compile correctly without
  17. >fixincludes having been run but does not execute correctly.
  18.  
  19. Not that interesting. Many old compilers have macros for ioctls like so:
  20.  
  21. #define TIOCSETD        _IOW('t', 1, int)    /* set line discipline */
  22.  
  23. Which won't work with an Ansi compiler (you'll just get an ioctl with
  24. the character 't' as the argument). Fixincludes changes them to:
  25.  
  26. #define TIOCSETD        _IOW(t, 1, int)      /* set line discipline */
  27.  
  28.  
  29. It's not surprising that your un'fixinclude'd version didn't work.
  30.  
  31.  
  32.  
  33. -- 
  34. Michael Traub
  35. BT Customer Systems, Brighton Systems Centre. traub@btcs.bt.co.uk
  36.  
  37.