Your message dated Thu, 07 Jul 2005 19:32:07 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#287256: fixed in flex 2.5.31-32
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Dec 2004 12:40:21 +0000
>From [EMAIL PROTECTED] Sun Dec 26 04:40:21 2004
Return-path: <[EMAIL PROTECTED]>
Received: from oosix.icce.rug.nl [129.125.14.80] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CiXh7-0002Nr-00; Sun, 26 Dec 2004 04:40:21 -0800
Received: from knarfix.oostum.north (knarfix.oostum.north [129.125.100.246])
        by oosix.icce.rug.nl (8.13.2/8.13.2/Debian-1) with ESMTP id 
iBQCdnot027400
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
        Sun, 26 Dec 2004 13:39:49 +0100
Received: from knarfix.oostum.north (localhost [127.0.0.1])
        by knarfix.oostum.north (8.13.2/8.13.2/Debian-1) with ESMTP id 
iBQCdhYY017647
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
        Sun, 26 Dec 2004 13:39:43 +0100
Received: (from [EMAIL PROTECTED])
        by knarfix.oostum.north (8.13.2/8.13.2/Submit) id iBQCdhhr017646;
        Sun, 26 Dec 2004 13:39:43 +0100
Message-Id: <[EMAIL PROTECTED]>
X-Authentication-Warning: knarfix.oostum.north: frank set sender to [EMAIL 
PROTECTED] using -f
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Frank B. Brokken" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: flex: Some members that should be const aren't
X-Mailer: reportbug 3.2
Date: Sun, 26 Dec 2004 13:39:43 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: flex
Version: 2.5.31-31
Severity: normal



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages flex depends on:
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  m4                          1.4.2-1      a macro processing language

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

Some members as defined in FlexLexer.h are accessors, and should be defined as
`const' members. E.g.,
        const char* YYText()        { return yytext; }
should be:
        const char* YYText() const  { return yytext; }

and:
        int YYLeng()        { return yyleng; }
should be:
        int YYLeng()  const { return yyleng; }

The bug causes irritating problems in code like the following;
    
        void testText(FlexLexer const &lexer)
        {
            std::string s(lexer.YYText());
        }

as the compiler can't call a non-const member for a const-object.
The bug may be an oversight: I noticed the correct definitions for, e.g.,

        int lineno() const              { return yylineno; }

        int debug() const               { return yy_flex_debug; }

Considering their names (they appear to be accessors), maybe other members
should be defined `const' members as well, e.g.,

        int yy_top_state();
        yy_state_type yy_get_previous_state();
        int yy_get_next_buffer();

---------------------------------------
Received: (at 287256-close) by bugs.debian.org; 7 Jul 2005 23:41:05 +0000
>From [EMAIL PROTECTED] Thu Jul 07 16:41:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DqfzN-0003zV-00; Thu, 07 Jul 2005 16:41:05 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Dqfqh-000697-00; Thu, 07 Jul 2005 19:32:07 -0400
From: Manoj Srivastava <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#287256: fixed in flex 2.5.31-32
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 07 Jul 2005 19:32:07 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: flex
Source-Version: 2.5.31-32

We believe that the bug you reported is fixed in the latest version of
flex, which is due to be installed in the Debian FTP archive:

flex-doc_2.5.31-32_all.deb
  to pool/main/f/flex/flex-doc_2.5.31-32_all.deb
flex_2.5.31-32.diff.gz
  to pool/main/f/flex/flex_2.5.31-32.diff.gz
flex_2.5.31-32.dsc
  to pool/main/f/flex/flex_2.5.31-32.dsc
flex_2.5.31-32_i386.deb
  to pool/main/f/flex/flex_2.5.31-32_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated flex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  7 Jul 2005 17:22:23 -0500
Source: flex
Binary: flex-doc flex
Architecture: source i386 all
Version: 2.5.31-32
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description: 
 flex       - A fast lexical analyzer generator.
 flex-doc   - Documentation for flex (a fast lexical analyzer generator)
Closes: 287256 308062 311651
Changes: 
 flex (2.5.31-32) unstable; urgency=low
 .
   * Bug fix: "INTL:vi", thanks to Clytie Siddall          (Closes: #311651).
   * Bug fix: "[l10n] Initial Czech translation of flex debconf messages",
     thanks to Miroslav Kure                               (Closes: #308062).
   * Bug fix: "flex: Some members that should be const aren't", thanks to
     Frank B. Brokken  Some members as defined in FlexLexer.h are
     accessors, and should be defined as `const' members, since not doing
     so causes problems when calling these member functions on a const
     object.                                               (Closes: #287256).
Files: 
 92c3aca8377189b3e4c2a621c0e5c914 646 devel standard flex_2.5.31-32.dsc
 9b6696bda9c3775ef19276e69f52a0a6 194698 devel standard flex_2.5.31-32.diff.gz
 44bfaef5978894b6b08707e444cfe013 141530 doc optional flex-doc_2.5.31-32_all.deb
 17546cc7cfe824e6b2100f17e216946f 259016 devel standard flex_2.5.31-32_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCzbfKIbrau78kQkwRAtnhAJsG2h4JQHKc9WVQOeIbQJOc/kAX7QCbBXq8
CtLBMNMVZbHjNGDZtxNaS3k=
=Amt8
-----END PGP SIGNATURE-----


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

Reply via email to