Bug#203351: marked as done ([PR 11713] [3.3/3.4 regression] c++ parser error)
Your message dated Tue, 05 Aug 2003 19:33:37 -0400
with message-id <E19kBJB-0005sl-00@auric.debian.org>
and subject line Bug#203351: fixed in gcc-3.3 1:3.3.1ds3-1
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; 29 Jul 2003 15:08:11 +0000
>From goedson@ccbbh.no-ip.org Tue Jul 29 10:08:05 2003
Return-path: <goedson@ccbbh.no-ip.org>
Received: from mg015225.user.veloxzone.com.br (ccbbh.no-ip.org) [200.165.15.225]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19hW55-0003R2-00; Tue, 29 Jul 2003 10:08:03 -0500
Received: from ccbbh.no-ip.org (localhost [127.0.0.1])
by ccbbh.no-ip.org (Postfix) with SMTP
id 47F82504E; Tue, 29 Jul 2003 12:09:55 -0300 (BRT)
Received: (nullmailer pid 25155 invoked by uid 1000);
Tue, 29 Jul 2003 15:09:54 -0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Goedson Teixeira Paixao <goedson@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: g++-3.3: Broken parser
X-Mailer: reportbug 2.20
Date: Tue, 29 Jul 2003 15:09:54 +0000
Message-Id: <1059491394.777156.25154.nullmailer@ccbbh.no-ip.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0
tests=BAYES_01,HAS_PACKAGE
version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)
Package: g++-3.3
Version: 1:3.3.1-0rc1
Severity: important
The g++-3.3 parser fails to parse the code bellow with the following error message:
test.cc:33: error: declaration of `Bitmap::operator GdkBitmap*() const'
test.cc:23: error: conflicts with previous declaration `Bitmap::operator
GdkBitmap*() const'
This code compiles cleanly with g++-3.2. Some changes to the code, e.g. move the
class Event to the end of the file, makes the file to compile cleanly with g++-3.3.
The problem also exists in current gcc-snapshot.
//////////////////////// Code starts here //////////////////////////////////////
typedef struct _GdkDrawable GdkDrawable;
typedef struct _GdkDrawable GdkBitmap;
typedef struct _GdkDrawable GdkPixmap;
class Drawable
{
public:
operator GdkDrawable* () const;
};
class Pixmap : public Drawable
{
public:
operator GdkPixmap* () const;
};
class Bitmap : public Pixmap
{
public:
operator GdkBitmap* () const;
};
class Event
{
};
Bitmap::operator GdkBitmap* () const
{
return 0;
}
///// Code ends here ///////////
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux maestro 2.4.18-k7 #1 SMP Qua Jun 25 20:03:38 BRT 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages g++-3.3 depends on:
ii gcc-3.3 1:3.3.1-0rc1 The GNU C compiler
ii gcc-3.3-base 1:3.3.1-0rc1 The GNU Compiler Collection (base
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii libstdc++5-3.3-dev 1:3.3.1-0rc1 The GNU Standard C++ Library v3 (d
-- no debconf information
---------------------------------------
Received: (at 203351-close) by bugs.debian.org; 5 Aug 2003 23:36:57 +0000
>From katie@auric.debian.org Tue Aug 05 18:36:57 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19kBMH-0001Yu-00; Tue, 05 Aug 2003 18:36:50 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
id 19kBJB-0005sl-00; Tue, 05 Aug 2003 19:33:37 -0400
From: Matthias Klose <doko@debian.org>
To: 203351-close@bugs.debian.org
X-Katie: $Revision: 1.35 $
Subject: Bug#203351: fixed in gcc-3.3 1:3.3.1ds3-1
Message-Id: <E19kBJB-0005sl-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Tue, 05 Aug 2003 19:33:37 -0400
Delivered-To: 203351-close@bugs.debian.org
We believe that the bug you reported is fixed in the latest version of
gcc-3.3, which is due to be installed in the Debian FTP archive:
cpp-3.3-doc_3.3.1-1_all.deb
to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3.1-1_all.deb
cpp-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/cpp-3.3_3.3.1-1_i386.deb
fastjar_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/fastjar_3.3.1-1_i386.deb
fixincludes_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/fixincludes_3.3.1-1_i386.deb
g++-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/g++-3.3_3.3.1-1_i386.deb
g77-3.3-doc_3.3.1-1_all.deb
to pool/main/g/gcc-3.3/g77-3.3-doc_3.3.1-1_all.deb
g77-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/g77-3.3_3.3.1-1_i386.deb
gcc-3.3-base_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/gcc-3.3-base_3.3.1-1_i386.deb
gcc-3.3-doc_3.3.1-1_all.deb
to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3.1-1_all.deb
gcc-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/gcc-3.3_3.3.1-1_i386.deb
gcc-3.3_3.3.1ds3-1.diff.gz
to pool/main/g/gcc-3.3/gcc-3.3_3.3.1ds3-1.diff.gz
gcc-3.3_3.3.1ds3-1.dsc
to pool/main/g/gcc-3.3/gcc-3.3_3.3.1ds3-1.dsc
gcc-3.3_3.3.1ds3.orig.tar.gz
to pool/main/g/gcc-3.3/gcc-3.3_3.3.1ds3.orig.tar.gz
gcj-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/gcj-3.3_3.3.1-1_i386.deb
gij-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/gij-3.3_3.3.1-1_i386.deb
gnat-3.3-doc_3.3.1-1_all.deb
to pool/main/g/gcc-3.3/gnat-3.3-doc_3.3.1-1_all.deb
gnat-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/gnat-3.3_3.3.1-1_i386.deb
gobjc-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/gobjc-3.3_3.3.1-1_i386.deb
gpc-2.1-3.3-doc_3.3.1.20030507-1_all.deb
to pool/main/g/gcc-3.3/gpc-2.1-3.3-doc_3.3.1.20030507-1_all.deb
gpc-2.1-3.3_3.3.1.20030507-1_i386.deb
to pool/main/g/gcc-3.3/gpc-2.1-3.3_3.3.1.20030507-1_i386.deb
libffi2-dev_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libffi2-dev_3.3.1-1_i386.deb
libffi2_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libffi2_3.3.1-1_i386.deb
libg2c0_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libg2c0_3.3.1-1_i386.deb
libgcc1_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libgcc1_3.3.1-1_i386.deb
libgcj-common_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libgcj-common_3.3.1-1_i386.deb
libgcj4-dev_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libgcj4-dev_3.3.1-1_i386.deb
libgcj4_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libgcj4_3.3.1-1_i386.deb
libobjc1_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libobjc1_3.3.1-1_i386.deb
libstdc++5-3.3-dbg_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3.1-1_i386.deb
libstdc++5-3.3-dev_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3.1-1_i386.deb
libstdc++5-3.3-doc_3.3.1-1_all.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3.1-1_all.deb
libstdc++5-3.3-pic_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3.1-1_i386.deb
libstdc++5_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/libstdc++5_3.3.1-1_i386.deb
protoize_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/protoize_3.3.1-1_i386.deb
treelang-3.3_3.3.1-1_i386.deb
to pool/main/g/gcc-3.3/treelang-3.3_3.3.1-1_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 203351@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.3 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 5 Aug 2003 20:38:02 +0200
Source: gcc-3.3
Binary: libgnat3.15 gcc-3.3-nof gcc-3.3 libobjc1 libgcc1 lib64g2c0 libstdc++5-3.3-doc libgcj4 gpc-2.1-3.3-doc libstdc++5 cpp-3.3-doc protoize cpp-3.3 libstdc++5-3.3-dbg g77-3.3-doc gpc-2.1-3.3 g77-3.3 libgcj4-dev gcc-3.3-doc lib64objc1 lib64ffi2 libstdc++5-3.3-dev libffi2-dev gcj-3.3 libgcj-common gobjc-3.3 lib64stdc++5 gcc-3.3-soft-float lib64gcj4 treelang-3.3 libg2c0-dev lib64gcc1 fastjar lib64gnat3.15 fixincludes libg2c0 gij-3.3 libstdc++5-3.3-pic gcc-3.3-base g++-3.3 gnat-3.3 libffi2 gnat-3.3-doc
Architecture: source i386 all
Version: 1:3.3.1ds3-1
Distribution: unstable
Urgency: low
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
cpp-3.3 - The GNU C preprocessor
cpp-3.3-doc - Documentation for the GNU C preprocessor (cpp)
fastjar - Jar creation utility
fixincludes - Fix non-ANSI header files
g++-3.3 - The GNU C++ compiler
g77-3.3 - The GNU Fortran 77 compiler
g77-3.3-doc - Documentation for the GNU Fortran compiler (g77)
gcc-3.3 - The GNU C compiler
gcc-3.3-base - The GNU Compiler Collection (base package)
gcc-3.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcj-3.3 - The GNU compiler for Java(TM)
gij-3.3 - The GNU Java bytecode interpreter
gnat-3.3 - The GNU Ada compiler
gnat-3.3-doc - Documentation for the GNU Ada compiler (gnat)
gobjc-3.3 - The GNU Objective-C compiler
gpc-2.1-3.3 - The GNU Pascal compiler
gpc-2.1-3.3-doc - Documentation for the GNU Pascal compiler (gpc)
libffi2 - Foreign Function Interface library runtime
libffi2-dev - Foreign Function Interface library development
libg2c0 - Runtime library for GNU Fortran 77 applications
libgcc1 - GCC support library
libgcj-common - Java runtime library (common files)
libgcj4 - Java runtime library for use with gcj
libgcj4-dev - Java development headers and static library for use with gcj
libobjc1 - Runtime library for GNU Objective-C applications
libstdc++5 - The GNU Standard C++ Library v3
libstdc++5-3.3-dbg - The GNU Standard C++ Library v3 (debugging files)
libstdc++5-3.3-dev - The GNU Standard C++ Library v3 (development files)
libstdc++5-3.3-doc - The GNU Standard C++ Library v3 (documentation files)
libstdc++5-3.3-pic - The GNU Standard C++ Library v3 (shared library subset kit)
protoize - Create/remove ANSI prototypes from C code
treelang-3.3 - The GNU Treelang compiler
Closes: 203351 203840
Changes:
gcc-3.3 (1:3.3.1ds3-1) unstable; urgency=low
.
* gcc-3.3.1 (taken from CVS 20030805).
- C++: Fix declaration conflicts (closes: #203351).
- Fix ICE on ia64 (closes: #203840).
Files:
32316c91b19fa6b2072d908fcb4cb100 2357 devel standard gcc-3.3_3.3.1ds3-1.dsc
10903d54df71bdaaeb93193281004050 22294016 devel standard gcc-3.3_3.3.1ds3.orig.tar.gz
aa9924f9582113e90b4df4afe2cd46fd 2223936 devel standard gcc-3.3_3.3.1ds3-1.diff.gz
24be6b69b8d7a974490aa9d6f90d38e6 82942 doc optional cpp-3.3-doc_3.3.1-1_all.deb
90cdf15e435a6160587bf29cc4f68802 3135866 doc optional libstdc++5-3.3-doc_3.3.1-1_all.deb
724c8e6da865bb08872684db2459be3b 268948 doc optional g77-3.3-doc_3.3.1-1_all.deb
b3bb08c3c26f6ea6896a66e960e8c8dd 328510 doc optional gnat-3.3-doc_3.3.1-1_all.deb
d997f07659ebe8f895108eeeb90f34a1 763894 doc optional gpc-2.1-3.3-doc_3.3.1.20030507-1_all.deb
6acd9c0c921bc2ddc90ddb603bdc4272 597368 doc optional gcc-3.3-doc_3.3.1-1_all.deb
9ed192819a449b95b347d1eefd5b1faf 140582 devel important gcc-3.3-base_3.3.1-1_i386.deb
4c9cb7e525c1d1988d3a5641686e17ee 69720 libs important libgcc1_3.3.1-1_i386.deb
5f0a0c77b4b55dc0ea994fb2287f423c 1309676 interpreters standard cpp-3.3_3.3.1-1_i386.deb
e2a3eb6418584c2434a387379bf7afab 22596 devel optional protoize_3.3.1-1_i386.deb
7c3e61ec9de9fa2baba0ef347bfc2fd7 47324 devel optional fixincludes_3.3.1-1_i386.deb
0d2c8f9df85a54defe0ae6517b2f13ec 1382976 devel optional gobjc-3.3_3.3.1-1_i386.deb
fc2fe4f690b523ba09886ab142cd4a4c 125738 libs optional libobjc1_3.3.1-1_i386.deb
0660c373b763fa03307b447198b312f5 12898 devel optional gij-3.3_3.3.1-1_i386.deb
82af06e438d4840ca03d54f068de19bd 4011904 libs optional libgcj4_3.3.1-1_i386.deb
a0b7e96e1e0af044321541b378c1a053 55478 libs optional libgcj-common_3.3.1-1_i386.deb
21e45f6ee6dac521263965da3ae60353 1607268 devel optional gcj-3.3_3.3.1-1_i386.deb
ca908b583d675cf1b79db5d2e0afeb43 4825420 libdevel optional libgcj4-dev_3.3.1-1_i386.deb
0e5a4f65e1908051eaf64b66ff787bed 113162 devel extra fastjar_3.3.1-1_i386.deb
bc1baed6d99703c4936242a7821345d6 65796 libs optional libffi2_3.3.1-1_i386.deb
db4917634192c379cf9f75c5037164d6 10728 libdevel optional libffi2-dev_3.3.1-1_i386.deb
44d59b0235a151906507008fc2a05951 1677548 devel standard g++-3.3_3.3.1-1_i386.deb
4de6e4b58ff04f1787b79c42a86aa34e 270348 base important libstdc++5_3.3.1-1_i386.deb
6075355e9457ca173d60b1b0eae8d2f3 758180 libdevel standard libstdc++5-3.3-dev_3.3.1-1_i386.deb
3fd9d24a83410d97268dacc75a5256e4 312268 libdevel extra libstdc++5-3.3-pic_3.3.1-1_i386.deb
f666c780ec7f3101ad0094eaf6453627 5017788 libdevel extra libstdc++5-3.3-dbg_3.3.1-1_i386.deb
cf66fddd08b36aae872c7ba337637077 47538 libs optional libg2c0_3.3.1-1_i386.deb
39f3b8caa380efbb20226c6a1b0635ea 1513858 devel optional g77-3.3_3.3.1-1_i386.deb
456e0c9e874381c1ab6e855fb8cb45e5 6108658 devel optional gnat-3.3_3.3.1-1_i386.deb
c49055c1f7dbe0553f5c02eedad5a486 1212270 devel optional treelang-3.3_3.3.1-1_i386.deb
7683b504bdf33bafb59ad26c363dd7bf 1940594 devel optional gpc-2.1-3.3_3.3.1.20030507-1_i386.deb
d0b9e6ffaf391f01eef5636da72b5df2 1291450 devel standard gcc-3.3_3.3.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/MC6+StlRaw+TLJwRAlc4AJ9uuVA9JQd9ui5YtsaxuRGMnKSi0gCcDUP2
pf4UlrZI4m9hqeVB3Q/GobY=
=KL52
-----END PGP SIGNATURE-----
Reply to: