Package: lemon
Version: 3.5.9-6
Severity: serious
Justification: unknown

The lempar.c file includes the following lines:

  /* The yyzerominor constant is used to initialize instances of
  ** YYMINORTYPE objects to zero. */
  static const YYMINORTYPE yyzerominor;

This statement doesn't compile with the 4.2 or 4.3 GCC C++ compiler.

  bsdlp.cc:113: error: uninitialized const 'yyzerominor' 

A simple fix would be to remove the const altogether.  Alternatively, the code 
could be changed to read:

  /* The yyzerominor constant is used to initialize instances of
  ** YYMINORTYPE objects to zero. */
  #if defined (__cplusplus)
  static YYMINORTYPE yyzerominor;
  #else
  static const YYMINORTYPE yyzerominor;
  #endif


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

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages lemon depends on:
ii  libc6                         2.7-14     GNU C Library: Shared libraries

lemon recommends no packages.

-- no debconf information



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

Reply via email to