Package: flex
Version: 2.5.33-9
Severity: minor

Hi,

flex define an ECHO macro:
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )

This ignores the fwrite return value, resulting in a compiler warning:
htmllex.c: In function 'yylex':
htmllex.l:1069: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result

I am not sure how to react if fwrite() indicates an error, but
ignoring the return value entirely is not good.

Regards,
  Bastian
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-treasure10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages flex depends on:
ii  debconf [debconf-2.0]        1.5.4       Debian configuration management sy
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  m4                           1.4.6-2     a macro processing language

Versions of packages flex recommends:
ii  gcc [c-compiler]              4:4.1.1-7  The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-13   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