------- Comment #1 from pinskia at gcc dot gnu dot org  2009-01-09 20:24 -------
      pedwarn (input_location, pedantic ? OPT_pedantic : OPT_Wpointer_arith,
               "pointer to a function used in arithmetic");


So what happened is that -pedantic-errors is off by default in 4.4.   You can
get an error via -pedantic-errors.  This has always been a warning for the C
front-end so this change makes the C++ front-end consistent with the C
front-end.


-- 


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

Reply via email to