Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3DB45571.40905@zerodeux.net> Date: Mon, 21 Oct 2002 21:28:49 +0200 From: Vincent Caron User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2a) Gecko/20020910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: flex-help AT gnu DOT org Cc: cygwin AT cygwin DOT com Subject: Flex: Cygwin and Windows ports Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, I'd like to use the latest Flex (ie. 2.5.23) under a Windows environment. The main pb is related to the integral types declaration (in flexint.h). Cygwin : * does not have * but provides which defines most integral types * the latter is needed for the uint* unsigned types (Cygwin adds an extra underscore) : typedef u_int8_t uint8_t; typedef u_int16_t uint16_t; typedef u_int32_t uint32_t; As far as I could check, looks like an ISOC99 non compliance issue ( http://www.opengroup.org/onlinepubs/007904975/basedefs/stdint.h.html ). Windows : is not even vaguely POSIX, so you get something like : typedef __int8 int8_t; typedef __int16 int16_t; typedef __int32 int32_t; typedef __int64 int64_t; typedef unsigned __int8 uint8_t; typedef unsigned __int16 uint16_t; typedef unsigned __int32 uint32_t; typedef unsigned __int64 uint64_t; I don't know how you would like to solve those issues, thus I'm not sending my brutal flexint.h patch :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/