FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

LinkBack Thread Tools
Old 12-28-2008, 03:16 PM
Bob Rutsky
Default Bug#510014: g++-4.3: Probably incorrect inheritance of template class from private class.

Package: g++-4.3
Version: 4.3.2-1
Severity: minor

Following code compiles:
class E { class B {}; };

class D : E::B {};

int main()
g++ -x c++ -W -Wall -std=c++98 -pedantic main.cpp

But should it?

-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing'), (497, 'unstable'), (495, 'stable'), (493, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages g++-4.3 depends on:
ii gcc-4.3 4.3.2-1 The GNU C compiler
ii gcc-4.3-base 4.3.2-1 The GNU Compiler Collection (base
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libgmp3c2 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii libmpfr1ldbl 2.3.1.dfsg.1-2 multiple precision floating-point
ii libstdc++6-4.3-dev 4.3.2-1 The GNU Standard C++ Library v3 (d

g++-4.3 recommends no packages.

Versions of packages g++-4.3 suggests:
ii g++-4.3-multilib 4.3.2-1 The GNU C++ compiler (multilib fil
ii gcc-4.3-doc 4.3.2.nf1-1 documentation for the GNU compiler
pn libstdc++6-4.3-dbg <none> (no description available)

-- no debconf information

To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 02:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org