Missing warning on function ptr assigment?

Alexandre Oliva oliva@dcc.unicamp.br
Mon May 31 21:06:00 GMT 1999


On May 14, 1999, Geir Bjarte Terum <gb@funcom.com> wrote:

> // Subject: Missing warning on function ptr assigment?

Nope, it's correct.  Functions decay to pointers to functions,
non-static member-functions do not decay to pointers thereof.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



More information about the Gcc-bugs mailing list