Package: flex
Version: 2.5.31-34
Severity: normal

flex 2.5.31 adds this weird line to the generated header file:

  static int yy_init_globals (yyscan_t yyscanner );

This results in a compiler warning. Why would you want yy_init_globals
in the header file?

The upstream flex people are TOTALLY unresponsive, please take a look
at this.

I suggest the patch below.
Please for the sake of my sanity, reply to this ASAP!

Oskar Liljeblad ([EMAIL PROTECTED])

diff -u flex.skl.v0 flex.skl
--- flex.skl.v0 2005-04-22 15:42:46.000000000 +0200
+++ flex.skl    2005-04-22 15:42:57.000000000 +0200
@@ -815,7 +815,7 @@
 ]])
 
 
-m4_ifdef( [[M4_YY_IN_HEADER]],
+m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
 [[
 static int yy_init_globals M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );
 ]])





-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.4
Locale: LANG=en_US, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages flex depends on:
ii  debconf [debconf-2.0]         1.4.57     Debian configuration management sy
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  m4                            1.4.3-2    a macro processing language

Versions of packages flex recommends:
ii  gcc [c-compiler]              4:4.0.1-3  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-7  The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.1-4    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