* [gentoo-dev] ebuild ttmkfdir-2.0-r1 fails
@ 2002-12-30 21:33 Jay Goodman Tamboli
2002-12-31 22:17 ` Jay Goodman Tamboli
0 siblings, 1 reply; 2+ messages in thread
From: Jay Goodman Tamboli @ 2002-12-30 21:33 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
build fails with errors:
parser.cpp: At global scope:
parser.cpp:1505: declaration of `int isatty(int)' throws different exceptions
/usr/include/unistd.h:668: than previous declaration `int isatty(int) throw ()'
make: *** [parser.o] Error 1
A comment at http://freshmeat.net/projects/ttmkfdir/
suggests line 1505 of parser.cpp be changed to:
extern int isatty YY_PROTO((int)) throw ();
/jgt
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] ebuild ttmkfdir-2.0-r1 fails
2002-12-30 21:33 [gentoo-dev] ebuild ttmkfdir-2.0-r1 fails Jay Goodman Tamboli
@ 2002-12-31 22:17 ` Jay Goodman Tamboli
0 siblings, 0 replies; 2+ messages in thread
From: Jay Goodman Tamboli @ 2002-12-31 22:17 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
On Mon, Dec 30, 2002 at 04:33:16PM -0500, Jay Goodman Tamboli wrote:
> build fails with errors:
>
> parser.cpp: At global scope:
> parser.cpp:1505: declaration of `int isatty(int)' throws different exceptions
> /usr/include/unistd.h:668: than previous declaration `int isatty(int) throw ()'
> make: *** [parser.o] Error 1
>
> A comment at http://freshmeat.net/projects/ttmkfdir/
> suggests line 1505 of parser.cpp be changed to:
>
> extern int isatty YY_PROTO((int)) throw ();
A re-emerge of flex seems to have solved the problem.
/jgt
--
You [should] not examine legislation in the light of the benefits it will convey
if properly administered, but in the light of the wrongs it would do and the
harm it would cause if improperly administered
-- Lyndon Johnson, former President of the U.S.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-31 22:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-30 21:33 [gentoo-dev] ebuild ttmkfdir-2.0-r1 fails Jay Goodman Tamboli
2002-12-31 22:17 ` Jay Goodman Tamboli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox