c++/7327: -isystem and template linkage
Berthold Höllmann
hoel@germanlloyd.org
Tue Aug 13 07:06:00 GMT 2002
The following reply was made to PR c++/7327; it has been noted by GNATS.
From: =?ISO-8859-15?Q?Berthold_H=F6llmann?= <hoel@germanlloyd.org>
To: <neil@gcc.gnu.org>
Cc: <gcc-bugs@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
<gcc-gnats@gcc.gnu.org>
Subject: Re: c++/7327: -isystem and template linkage
Date: 13 Aug 2002 13:52:50 +0200
neil@gcc.gnu.org writes:
> Old Synopsis: strange error through using -isystem
> New Synopsis: -isystem and template linkage
>=20
> State-Changed-From-To: open->analyzed
> State-Changed-By: neil
> State-Changed-When: Tue Aug 13 04:12:48 2002
> State-Changed-Why:
> One way gives your headers extern "C" wrappers, the other
> doesn't. I'm not sure what the fix is, or even if it should be
fixed.
>=20
>
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&database=3D=
g
cc&pr=3D7327
>=20
If I generate the preprocessed files using
g++ -E -isystem /home/hoel/work/boost/boost err.cxx -o erra
and
g++ -E -I /home/hoel/work/boost/boost err.cxx -o errb
and call=20
diff err? | grep -v "^[<>] #" | grep -v "\---"
afterwards, the only output are the different lines. So why are the
C++ lines wrapped extern "C" using -isystem but not using -I? I'm also
not sure what the fix is, but shure it should be fixed.
Greetings
Berthold
--=20
Dipl.-Ing. Berthold H=F6llmann __ Address:
hoel@germanlloyd.org G / \ L Germanischer Lloyd
phone: +49-40-36149-7374 -+----+- Vorsetzen 32/35 P.O.Box 111606
fax : +49-40-36149-7320 \__/ D-20459 Hamburg D-20416 Hamburg
This email contains confidential information for the exclusive attention
of the intended addressee. Any access of third parties to this email is
unauthorized. Any use of this email by not intended recipients like
copying, distribution, disclosure etc. is prohibited and may be
unlawful. When addressed to our clients the content of this email is
subject to the General Terms and Conditions of GL's Group of Companies
applicable at the date of this email.=20
GL's Group of Companies does not warrant and/or guarantee that this
message at the moment of receipt is authentic, correct and its
communication free of errors, interruption etc.=20
More information about the Gcc-prs
mailing list