------- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-04 19:13 ------- This is related to builtins too because either using -fno-builtin or using fork1 allows this program to work.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.5 Regression] Can't |[4.5 Regression] Can't |declare an extern "C" |declare an extern "C" friend |friend. |of a builtin function http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41020