This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: flex++


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]