Path: news.mv.net!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.icl.net!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail From: "Jeroentje" Newsgroups: comp.os.msdos.djgpp,microsoft.public.vc.language,microsoft.public.vc.mfc Subject: Re: using flex -+ in visual studio Date: Tue, 5 Sep 2000 16:36:51 +0200 Organization: KULeuvenNet Lines: 33 Message-ID: <968164502.676198@marvin> References: NNTP-Posting-Host: marvin.kulnet.kuleuven.ac.be X-Trace: naxos.belnet.be 968164503 12281 134.58.127.3 (5 Sep 2000 14:35:03 GMT) X-Complaints-To: abuse AT belnet DOT be NNTP-Posting-Date: Tue, 5 Sep 2000 14:35:03 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Cache-Post-Path: marvin!unknown AT tvd-10-67-109-163 DOT tvd DOT kotnet DOT kuleuven DOT ac DOT be X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: news.mv.net comp.os.msdos.djgpp:103180 microsoft.public.vc.language:90062 microsoft.public.vc.mfc:187742 Just create a empty unistd.h file in your .\include\sys directory and it will compile just fine. Paul Cechner wrote in message news:rR2t5.29$1v1 DOT 785 AT nsw DOT nnrp DOT telstra DOT net... > i know this is probably off topic here, but hopefully it will not be... > > i am using the latest gcc flex package (2.5.4), which is intended to be > compiled with gpp (djgpp) and tried to use the c++ code it generated in > visual c++. > > i get an error locating unistd.h. > > i just want to know if getting my lexyy.cc to work in visual c++ will just > be a matter of finding and including unistd.h, and where i can find it. > > does anyone have experience in this? > > thanks in advance > > -- > note: spam resistant email > > ---------------------- > Paul Cechner > > > >