Your message dated Fri, 27 Dec 2002 16:15:26 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#151182: g++-3.1: struct problems
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; 27 Jun 2002 18:37:40 +0000
>From [EMAIL PROTECTED] Thu Jun 27 13:37:40 2002
Return-path: <[EMAIL PROTECTED]>
Received: from mail.uni-kl.de (uni-kl.de) [131.246.137.52] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 17Ne9D-0004yB-00; Thu, 27 Jun 2002 13:37:39 -0500
Received: from blubb.uni-kl.de (blubb.uni-kl.de [131.246.120.10])
        by uni-kl.de (8.12.4/8.12.4) with ESMTP id g5RIbXXl015381;
        Thu, 27 Jun 2002 20:37:33 +0200 (MET DST)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de 
[131.246.239.10])
        by blubb.uni-kl.de (8.12.3/8.12.3) with ESMTP id g5RIbXmW032084;
        Thu, 27 Jun 2002 20:37:33 +0200
Received: from localhost (deka [131.246.239.27])
        by enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id UAA27071;
        Thu, 27 Jun 2002 20:37:31 +0200 (MET DST)
Received: from hunger by localhost with local (Exim 3.35 #1 (Debian))
        id 17Ne8J-0004rr-00; Thu, 27 Jun 2002 20:36:43 +0200
Subject: g++-3.1: struct problems
From: "Tobias Hunger" <[EMAIL PROTECTED]>
To: "Debian Bug Tracking System" <[EMAIL PROTECTED]>
X-Mailer: reportbug 1.99.42
Date: Thu, 27 Jun 2002 20:36:42 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: Tobias Hunger <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavis-milter (http://amavis.org/)
Delivered-To: [EMAIL PROTECTED]

Package: g++-3.1
Version: 1:3.1.1-0pre2
Severity: normal

Hi!

This program is giving me headaches:

struct test
{
                char test;
};

int main(int argc, char ** argv)
{
                return 0;
}

~/test > g++-3.1 -o test test.cc
~/test > g++-2.95 -o test test.cc
test.cc:3: ANSI C++ forbids data member `test' with same name as enclosing class

Version 2.95 got it right: This is no valid C++ (What happens if someone
adds a constructor to the struct?).

Regards,
Tobias

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux c3po 2.4.18-my-686 #1 Sun Apr 7 20:53:09 CEST 2002 i686
Locale: LANG=C, [EMAIL PROTECTED]

Versions of packages g++-3.1 depends on:
ii  gcc-3.1                    1:3.1.1-0pre2 The GNU C compiler.
ii  gcc-3.1-base               1:3.1.1-0pre2 The GNU Compiler Collection (base 
ii  libc6                      2.2.5-7       GNU C Library: Shared libraries an
ii  libstdc++4-dev             1:3.1.1-0pre2 The GNU stdc++ library version 3 (

-- no debconf information


---------------------------------------
Received: (at 151182-done) by bugs.debian.org; 27 Dec 2002 15:18:38 +0000
>From [EMAIL PROTECTED] Fri Dec 27 09:18:38 2002
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18RwFx-0002Ow-00; Fri, 27 Dec 2002 09:18:37 -0600
Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1])
        by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id QAA24786;
        Fri, 27 Dec 2002 16:15:27 +0100 (MET)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id gBRFFQq00060;
        Fri, 27 Dec 2002 16:15:26 +0100 (MET)
From: Matthias Klose <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 27 Dec 2002 16:15:26 +0100
To: "Tobias Hunger" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#151182: g++-3.1: struct problems
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-4.7 required=5.0
        tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01
        version=2.41
X-Spam-Level: 

As Martin has written, this is a defect in C++ itself. Closing the report.


Reply via email to