delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/06/06:30:00

From: juerg DOT tschirren AT isbe DOT ch (Juerg Tschirren)
Subject: Re: flex++
6 Feb 1998 06:30:00 -0800 :
Message-ID: <98Feb6.123736gmt+0100.36877.cygnus.gnu-win32@limes.isbe.ch>
References: <34DA77E0 DOT E47D6079 AT krdl DOT org DOT sg>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

sumeet singh wrote:

> Hi,
>     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.
>

I don't know flex++. But with flex I had the same problem. The solution was
to define a empty unistd.h file (there is no default unistd.h file defined
by Microsoft). With this dummy unistd.h everything works very fine and I can
compile and link flex and bison generated source with VC++ 5.0. I hope it
works with flex++ too.

Juerg Tschirren
Berne, Switzerland




--
------------------------------------------------------------------------
In a world without fences - who needs Gates?
Experience LINUX!
http://www.linux.org  http://www.suse.de  http://www.redhat.com



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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019