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