home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6593 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.7 KB  |  44 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!psinntp!pool!ujlh
  3. From: ujlh@pool.info.sunyit.edu (James Henrickson)
  4. Subject: Re: FLT_DIG, tabs, FPU, yacc
  5. Message-ID: <1992Jul23.065258.18459@pool.info.sunyit.edu>
  6. Organization: State University of New York -- Institute of Technology
  7. References: <1992Jul22.082501.20615@athena.mit.edu>
  8. Date: Thu, 23 Jul 1992 06:52:58 GMT
  9. Lines: 33
  10.  
  11. In article <1992Jul22.082501.20615@athena.mit.edu> J.Jagger@sheffield-city-poly.ac.uk writes:
  12. >Hi peeps,
  13. >I've just noticed that float.h has a line ;
  14. >#define FLT_DIG 6
  15. >I know that 6 is the number written in Plaugers ANSI C book, but he
  16. >has acknowledged that this is an error, and it should be 7.
  17. >I don't whether people leave it as 6 so as not to break existing code
  18. >(can't imagine much would break), or whether they just don't know
  19. >this.
  20. >
  21. >Couple of other queries.
  22.  
  23. Speaking of the compiler...
  24.  
  25. I've run into major problems with g++2.2.2.  It appears that one of the
  26. g++ header files includes <unistd.h>, which then includes <sys/time.h> and 
  27. <sys/times.h>.  The prototypes in unistd.h don't agree with the ones
  28. in sys/time.h and sys/times.h, and I've been editing the header files
  29. big time to get an application to compile.
  30.  
  31. Also, sc expected to find definitions for KEY_UP, KEY_DOWN, KEY_LEFT, and
  32. KEY_RIGHT but they aren't found in curses.h (or any other header file for
  33. that matter) even though a comment in that header file makes a reference 
  34. to KEY_*.  Am I correct in assuming that curses.h is incomplete?  For now,
  35. I have compiled sc to work without the arrow keys but it would be nice
  36. to have them later.  :-)
  37.  
  38.  
  39. -- 
  40. Jim H.
  41. *
  42. * James L. Henrickson                                 ujlh@sunyit.edu
  43. * "Yet another Jim in the Linux world."  :-)
  44.