------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-09 
23:29 -------
The warning is correct:
extern void f();

void g(void)
{
  ((void (*) (char)) f)(a);
}

this is undefined code which means we could anything at runtime (even wipe out 
your HD).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18411

Reply via email to