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]

Flex /Flex++ problem, please Help


Hi;
I have downloaded GNU-Win32 package and I am try to use Flex (or Flex++)
in order to create a C file (from a Lex one) and later to compile this
file on VC++ 5.0
For now, when I tried to compile this file on VC++ 5.0 , I got a
following messages:

-----------------------------------------
CD_lex.cpp(16) : warning C4117: macro name '__cplusplus' is reserved,
'#define' ignored
CD_lex.cpp(55) : warning C4005: 'yyconst' : macro redefinition
CD_lex.cpp(62) : warning C4005: 'YY_PROTO' : macro redefinition
CD_lex.cpp(1354) : warning C4005: 'yyless' : macro redefinition
CD_lex.cpp(1434) : fatal error C1010: unexpected end of file while
looking for precompiled header directive
Error executing cl.exe.
-----------------------------------------

(file CD_lex.cpp was obtained from CD_lex.l by a flex++. When I used a
flex 
a got the same messages , only the first warning is different)
 
 
So do you know any way of compiling this  file on Visual C++ 5.0 ?

Thanks in Advance ...
-- 

 Oleg Volpin
-
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]