Package: flex
Version: 2.5.33-12
Severity: minor

Hello,

In the generated lexer, in case a C99 compiler is used, flex defines
__STDC_LIMIT_MACROS and includes <inttypes.h>, causing standard integral
limits to be defined. It then proceeds to define its own limits, which
clash somewhat with those from the header (UINT8_MAX and UINT16_MAX are
not exactly the same, causing sparse to complain). Probably these
definitions should be moved before the

#endif /* ! C99 */

stance, so as to define them only when !C99.

Thanks,
JB

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1 (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages flex depends on:
ii  debconf [debconf-2.0]         1.5.14     Debian configuration management sy
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  m4                            1.4.9-2    a macro processing language

Versions of packages flex recommends:
ii  gcc [c-compiler]             4:4.1.2-3   The GNU C compiler
ii  gcc-2.95 [c-compiler]        1:2.95.4-27 The GNU C compiler
ii  gcc-3.0 [c-compiler]         1:3.0.4-6   The GNU C compiler.
ii  gcc-3.2 [c-compiler]         1:3.2.3-9   The GNU C compiler
ii  gcc-3.3 [c-compiler]         1:3.3.6-15  The GNU C compiler
ii  gcc-4.0 [c-compiler]         4.0.3-7     The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.2-15    The GNU C compiler

-- debconf information:
  flex/upgrade/pre_2.5.5: false



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to