This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: using member templates to cast 0 to pointer to member fun...


On Dec 18, 1998, adriang@campbellsoft.com wrote:

> everything works fine, until assigning NULL to the member function pointer.
> the error is:
> cannot convert `NULL' from type `Null' to type `int (a::*)(int)'

It looks like a bug in egcs to me.  I'm installing a testcase based on 
your post in the testsuite.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]