Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <973FBD91FAE3D211B41E009027339AF0017189EA@wendy.siege.oleane.fr> From: Alexandre JANNETA To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Flex lexer compilation problem Date: Tue, 21 Sep 1999 10:33:04 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain 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 DOT Piquet AT epsilon DOT 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 DOT Piquet AT epsilon DOT fr ---------------------------------------------------------------------------- -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com