delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
X-Server-Uuid: | 17085090-7ecb-11d4-ba0b-00508bd371a2 |
Message-ID: | <200011291049.eATAnNq22811@dymwsm09.mailwatch.com> |
From: | "Fleischer, Karsten (K.)" <kfleisc1 AT ford DOT com> |
To: | "'David Moody'" <DMoody AT noregon DOT com> |
cc: | "Cygwin (E-mail)" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | RE: Visual C++ and flex library |
Date: | Wed, 29 Nov 2000 05:49:18 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2651.58) |
X-WSS-ID: | 163A00B9305180-01-01 |
Hello David, > I am trying to use your excellent flex scanner in my Visual C++ > project. I want to wrapper a COM Interface around the > generated lex.yy.c file , This is an interesting idea. I wanted to do something similar about two years ago, but didn't have enough time. Now the sources are gone, so I can't tell you what I did exactly > however I get errors when I don't link to the flex > library (libfl.a). If you look at the sources to libfl.a you will see that it provides only two small functions: a main() function which just returns yylex(), and a yywrap() function which returns 1. So, provide your own yywrap() function. Karsten -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |