This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: flex++
- To: gnu-win32 at cygnus dot com
- Subject: Re: flex++
- From: Benjamin Riefenstahl <benny at crocodial dot de>
- Date: Fri, 06 Feb 1998 15:12:05 +0100
- Organization: Crocodial Communications EntwicklungsGmbH
- References: <34DA77E0.E47D6079@krdl.org.sg>
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@crocodial.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@cygnus.com" with one line of text: "help".