This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56558] New: Address of operator with template base class member (C++ source compile error)
- From: "thierry.moreau at connotech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 07 Mar 2013 01:55:21 +0000
- Subject: [Bug c++/56558] New: Address of operator with template base class member (C++ source compile error)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56558
Bug #: 56558
Summary: Address of operator with template base class member
(C++ source compile error)
Classification: Unclassified
Product: gcc
Version: 4.6.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: thierry.moreau@connotech.com
Created attachment 29606
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29606
C++ source code (minimal)
The C++ source file attached is minimal and causes a compiler error with 4.2
and 4.6 (latest snapshot), but neither 4.7 (except a 4.7.0 RC) nor 4.8.
In member function 'void t2<SIZE>::f() [with int SIZE = 1000]':
error: cannot convert 'int t1<1000>::*' to 'int*' in initialization