[Flex-devel] Own declaration of isatty() necessary?
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Tim L. <ti...@ti...> - 2012-02-06 11:45:46
|
Hi, AFAICS, Vern added the declaration of isatty() in http://flex.cvs.sourceforge.net/viewvc/flex/flex/flex.skl?r1=2.72&r2=2.73. There are two bug reports concerning this where basically flex's declaration clashes with unistd.h's that adds a "__THROW" for C++. Is there any harm in replacing flex's declaration alto- gether by "#include <unistd.h>"? I. e., are there used tar- get platforms that require flex itself to declare isatty? Tim |