------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2006-06-20 
00:07 -------
Subject: Re:  [4.2 Regression] /usr/include/errno.h:28: error: previous
declaration of 'int errno' with 'C++' linkage

>     mach      = "*-hp-hpux11.[0-2]*";

I believe that we also need the fix for hpux10.  I see

extern int errno;
#include <sys/errno.h>

in the HP-UX 10.20 version of errno.h with no extern "C" wrapper.

sys/errno.h has the wrapper.  Otherwise, the change looks good to
me.

Dave


-- 


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

Reply via email to