Gentoo Archives: gentoo-dev

From: Jay Goodman Tamboli <jay@×××××××.cx>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] ebuild ttmkfdir-2.0-r1 fails
Date: Tue, 31 Dec 2002 22:19:18
Message-Id: 20021231221736.GA15058@localhost.localdomain
In Reply to: [gentoo-dev] ebuild ttmkfdir-2.0-r1 fails by Jay Goodman Tamboli
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.