Mail Archives: cygwin/1998/02/06/09:48:28
sumeet singh wrote:
> I have problems using flex++ (flex that generates C++ code) with
> VC++ 5.0 . The c++ file that flex++ generates, includes <unistd.h> which
> defines some functions already defined in some other header files of
> VC++ and hence doesn't compile.
? Where does that unistd.h come from? unistd.h is a Unix system header.
It doesn't come with VC++ so you should not have that file in your
include files search path in the first place.
To work with the flex++ code you could a) replace the #include in the
code with the headers that define the functionality in VC++ or b) define
your own unistd.h header that sub-includes these same headers. All this
on the assumption that VC++ has the functions that you need in it's RTL.
======================================
Benjamin Riefenstahl (benny AT crocodial DOT de)
Crocodial Communications EntwicklungsGmbH
Ophagen 16a, D-20257 Hamburg, Germany
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -