This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Flex lexer compilation problem
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: Flex lexer compilation problem
- From: Alexandre JANNETA <alj at oleane dot net>
- Date: Tue, 21 Sep 1999 10:33:04 +0200
I get the following error message when I compile the lex.intp.cpp file which
is
a C file generated by Flex on an NT 4.0 workstation with the MS Visual C++
6.0.
Is any succeded to compile a Flex Lexer with MS Visual C++ 6.0 ?
--------------------Configuration: rekkwin20 - Win32
Debug--------------------
Compiling...
lex.intp.cpp
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(15) : error C2733: second C
linkage of overloaded function '_exit' not allowed
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(15) : see declaration of
'_exit'
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(61) : error C2733: second C
linkage of overloaded function 'swab' not allowed
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(61) : see declaration of
'swab'
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(66) : error C2733: second C
linkage of overloaded function 'unlink' not allowed
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(66) : see declaration of
'unlink'
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(78) : error C2733: second C
linkage of overloaded function '_unlink' not allowed
c:\winnt\profiles\rebeca\bureau\kernel\rebkwin2.0\rebkwin20\include\unistd.h
(78) : see declaration of
'_unlink'
Error executing cl.exe.
lex.intp.obj - 4 error(s), 1 warning(s)
Cordialement
Jean-Yves PIQUET
----------------------------------------------------------------------------
EPSILON Ingenierie | Jean-Yves PIQUET
California - Voie 5 |
BP 653 | Tel: (33) 05 61 00 19 19
31319 Labege Cedex | Fax: (33) 05 61 39 99 16
France | E-mail: Jean-Yves.Piquet@epsilon.fr
----------------------------------------------------------------------------
------------- End Forwarded Message -------------
Cordialement
Jean-Yves PIQUET
----------------------------------------------------------------------------
EPSILON Ingenierie | Jean-Yves PIQUET
California - Voie 5 |
BP 653 | Tel: (33) 05 61 00 19 19
31319 Labege Cedex | Fax: (33) 05 61 39 99 16
France | E-mail: Jean-Yves.Piquet@epsilon.fr
----------------------------------------------------------------------------
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com