------- Comment #6 from sje at cup dot hp dot com  2006-06-15 16:14 -------
Could I get clarification if the following error is a desired effect of this
change.  Prior to this, the included program gave no error.  I believe the
change was caused by this patch.  This is causing a problem with the HP-UX
definition of errno, but it we want this error, I can fixheaders the header
file in question.

e.c:1: error: previous declaration of 'int i' with 'C++' linkage
e.c:4: error: conflicts with new declaration with 'C' linkage

[hpclear8] $ cat e.c

extern int i;

extern "C" {
        extern int i;
}


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com


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

Reply via email to