GCC 2.95.2 - Low Priority - References to members not implemented

root philippeb@corel.com
Mon Oct 2 12:27:00 GMT 2000


Problem:
The compiler supports references to global functions but not members
variables nor member functions:

struct A
{
  void f() {}

  void (A::& pf)();
  
  A():pf(A::f) {}
} a;

Reports:
...: parse error before `&'

Version:
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)

Will it be supported eventually?


Thank you.
begin:vcard 
n:Bouchard;Philippe A.
x-mozilla-html:FALSE
org:Corel Linux
adr:;;;;;;
version:2.1
title:Software Engineer
x-mozilla-cpt:;0
fn:Philippe A. Bouchard
end:vcard


More information about the Gcc-bugs mailing list