Your message dated Sun, 05 Jul 2015 16:18:22 +0000 with message-id <E1ZBmcY-0006gk-9d@franck.debian.org> and subject line Bug#707276: Removed package(s) from unstable has caused the Debian Bug report #638461, regarding g++-4.4: friend declaration of template class-member fail 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 638461: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638461 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: g++-4.4: friend declaration of template class-member fail
- From: Gianni Pisetta <pisetta.gianni@alice.it>
- Date: Fri, 19 Aug 2011 15:14:45 +0200
- Message-id: <20110819131445.12322.73377.reportbug@gianni-portatile>
Package: g++-4.4 Version: 4.4.5-8 Severity: normal when i try to compile the following code in test.cpp: template<class A,class B> class X { public: template<class C> X<C,B>& operator[]( const C& ); }; template<class A,class B,class C> class Y : public X<C,B> { friend X<C,B>& X<A,B>::template operator[]<C>( const C& ); private: Y( X<A,B>& object , const C& index ) : X<C,B>() {}; }; template<class A,class B> template<class C> X<C,B>& X<A,B>::operator[]( const C& index ) { return *( new Y<A,B,C>( *this , index ) ); } void test() { X<int,void> x; X<int,void>& y = x[2]; } with the command g++ -c test.cpp -o test.o g++ outputs: ./test.cpp: In instantiation of ‘Y<int, void, int>’: ./test.cpp:14: instantiated from ‘X<C, B>& X<A,B>::operator[](const C&) [with C = int, A = int, B = void]’ ./test.cpp:19: instantiated from here ./test.cpp:8: error: ‘operator[]’ not defined ./test.cpp: In member function ‘X<C, B>& X<A, B>::operator[](const C&) [with C = int, A = int, B = void]’: ./test.cpp:19: instantiated from here ./test.cpp:10: error: ‘Y<A, B, C>::Y(X<A, B>&, const C&) [with A = int, B = void, C = int]’ is private ./test.cpp:14: error: within this context It is unable to tell that 'operator[]' exist and is declared as a friend class-method. So then it fail when there is a call to the private constructor. I asked on the internet and seems that the friend declaration is correct so I tryed whit 'clang' and it does not report anything. This seems a g++ bug so I am sending a report in the Debian bug tracking system and also in the gcc bug tracking system. -- System Information: Debian Release: 6.0.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages g++-4.4 depends on: ii gcc-4.4 4.4.5-8 The GNU C compiler ii gcc-4.4-base 4.4.5-8 The GNU Compiler Collection (base ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgmp3c2 2:4.3.2+dfsg-1 Multiprecision arithmetic library ii libmpfr4 3.0.0-2 multiple precision floating-point ii libstdc++6-4.4-dev 4.4.5-8 The GNU Standard C++ Library v3 (d g++-4.4 recommends no packages. Versions of packages g++-4.4 suggests: pn g++-4.4-multilib <none> (no description available) pn gcc-4.4-doc <none> (no description available) pn libstdc++6-4.4-dbg <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 499251-done@bugs.debian.org,526620-done@bugs.debian.org,526629-done@bugs.debian.org,528587-done@bugs.debian.org,528741-done@bugs.debian.org,530949-done@bugs.debian.org,532871-done@bugs.debian.org,548274-done@bugs.debian.org,558999-done@bugs.debian.org,561073-done@bugs.debian.org,564274-done@bugs.debian.org,565708-done@bugs.debian.org,566195-done@bugs.debian.org,566242-done@bugs.debian.org,567370-done@bugs.debian.org,568398-done@bugs.debian.org,568399-done@bugs.debian.org,569571-done@bugs.debian.org,569984-done@bugs.debian.org,570265-done@bugs.debian.org,571115-done@bugs.debian.org,572383-done@bugs.debian.org,577951-done@bugs.debian.org,577973-done@bugs.debian.org,578735-done@bugs.debian.org,579424-done@bugs.debian.org,584511-done@bugs.debian.org,585730-done@bugs.debian.org,587509-done@bugs.debian.org,588087-done@bugs.debian.org,588391-done@bugs.debian.org,588765-done@bugs.debian.org,588786-done@bugs.debian.org,589389-done@bugs.debian.org,589729-done@bugs.debian.org,590008-done@bu gs.debian.org,590038-done@bugs.debian.org,590599-done@bugs.debian.org,591766-done@bugs.debian.org,592153-done@bugs.debian.org,592649-done@bugs.debian.org,593086-done@bugs.debian.org,593259-done@bugs.debian.org,593324-done@bugs.debian.org,595404-done@bugs.debian.org,595782-done@bugs.debian.org,596965-done@bugs.debian.org,600223-done@bugs.debian.org,601291-done@bugs.debian.org,602741-done@bugs.debian.org,604937-done@bugs.debian.org,608029-done@bugs.debian.org,608055-done@bugs.debian.org,609690-done@bugs.debian.org,612716-done@bugs.debian.org,613782-done@bugs.debian.org,629010-done@bugs.debian.org,630585-done@bugs.debian.org,631292-done@bugs.debian.org,633352-done@bugs.debian.org,638461-done@bugs.debian.org,646533-done@bugs.debian.org,650344-done@bugs.debian.org,660835-done@bugs.debian.org,668257-done@bugs.debian.org,692399-done@bugs.debian.org,696205-done@bugs.debian.org,697296-done@bugs.debian.org,734000-done@bugs.debian.org,766329-done@bugs.debian.org,777864-done@bugs.debian.org,
- Cc: gcc-4.4@packages.debian.org, gcc-4.4@packages.qa.debian.org
- Subject: Bug#707276: Removed package(s) from unstable
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sun, 05 Jul 2015 16:18:22 +0000
- Message-id: <E1ZBmcY-0006gk-9d@franck.debian.org>
Version: 1:4.4.7-8+rm Dear submitter, as the package gcc-4.4 has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/707276 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org. Debian distribution maintenance software pp. Luca Falavigna (the ftpmaster behind the curtain)
--- End Message ---