help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patches for flex 2.5.25 C compatibility and lint compatibility


From: ssikri
Subject: Re: Patches for flex 2.5.25 C compatibility and lint compatibility
Date: Mon, 09 Dec 2002 09:33:04 -0500
User-agent: IMP/PHP IMAP webmail program 2.2.0-pre13

Hi,
I need help.... 

Quoting Bruce Lilly <address@hidden>:

> Attached are two patches for flex 2.5.25.
> 
> compat.patch addresses C type issues related to vaious revisions
> of ANSI C and K&R C.  Both "long long" and int64_t (and uint64_t)
> were introduced with C99, so appropriate typedefs are used in the
> C99 preprocessor branch in flexint.h.  The typedefs were removed
> from the non-64-bit, non-C++ branch since "long long" is an error
> prior to C99.
> 
> lint.patch revises the "/* fall through */" comment to "/*FALLTHROUGH*/"
> which is recognized by lint and lclint (though the latter squawks
> about it not being the lclint proprietary format).
> 
> Both patches have been tested on GNU/Linux (SuSE 8.0/gcc 2.95.3) and
> UWIN 3.1 (MSVC++ 6.0 SP5).
> 
> compat.patch does not address the fact that the [u]intN_t types are
> optional in C99; the typedefs in the C99 branch could be changed
> to the required [u]int_leastN_t C99 types.
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]