1 |
On Mon, Dec 30, 2002 at 04:33:16PM -0500, Jay Goodman Tamboli wrote: |
2 |
> build fails with errors: |
3 |
> |
4 |
> parser.cpp: At global scope: |
5 |
> parser.cpp:1505: declaration of `int isatty(int)' throws different exceptions |
6 |
> /usr/include/unistd.h:668: than previous declaration `int isatty(int) throw ()' |
7 |
> make: *** [parser.o] Error 1 |
8 |
> |
9 |
> A comment at http://freshmeat.net/projects/ttmkfdir/ |
10 |
> suggests line 1505 of parser.cpp be changed to: |
11 |
> |
12 |
> extern int isatty YY_PROTO((int)) throw (); |
13 |
|
14 |
A re-emerge of flex seems to have solved the problem. |
15 |
|
16 |
/jgt |
17 |
-- |
18 |
You [should] not examine legislation in the light of the benefits it will convey |
19 |
if properly administered, but in the light of the wrongs it would do and the |
20 |
harm it would cause if improperly administered |
21 |
-- Lyndon Johnson, former President of the U.S. |