public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7327: -isystem and template linkage
@ 2002-11-03 20:26 Ben Hines
0 siblings, 0 replies; 5+ messages in thread
From: Ben Hines @ 2002-11-03 20:26 UTC (permalink / raw)
To: jason; +Cc: gcc-prs
The following reply was made to PR c++/7327; it has been noted by GNATS.
From: Ben Hines <bhines@alumni.ucsd.edu>
To: gcc-gnats@gcc.gnu.org,
gcc-prs@gcc.gnu.org,
hoel@germanlloyd.org,
gcc-bugs@gcc.gnu.org,
jason@gcc.gnu.org
Cc:
Subject: Re: c++/7327: -isystem and template linkage
Date: Sun, 3 Nov 2002 20:21:19 -0800
This bug# 7327 also affects Apple's GCC on Mac OS X. Also, "idirafter"
is also affected in addition to "isystem".
To reproduce on mac os x:
in conftest.cpp:
#include <conftest.h>
int main ()
{
return 0;
}
in conftest.h in pwd:
#include <iosfwd>
Compile with:
g++ -idirafter `pwd` conftest.cpp -save-temps
OR
g++ -isystem `pwd` conftest.cpp -save-temps
RESULT:
% g++ -idirafter `pwd` conftest.cpp -save-temps
In file included from /usr/include/gcc/darwin/3.1/g++-v3/iosfwd:45,
from /Users/ben/tempbug/conftest.h:1,
from conftest.cpp:2:
/usr/include/gcc/darwin/3.1/g++-v3/bits/stringfwd.h:49: template with C
linkage
/usr/include/gcc/darwin/3.1/g++-v3/bits/stringfwd.h:57: template with C
linkage
/usr/include/gcc/darwin/3.1/g++-v3/bits/stringfwd.h:61: template with C
linkage
-snip more-
REGRESSION:
If i include <iosfwd> directly in conftest.cpp, i don't get the
problem. It has to be in a header found by isystem.
% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1161, based on gcc version 3.1
20020420 (prerelease)
% uname -a
Darwin lsanca1-ar8-4-60-073-020.lsanca1.dsl-verizon.net 6.1 Darwin
Kernel Version 6.1: Fri Sep 6 23:24:34 PDT 2002;
root:xnu/xnu-344.2.obj~2/RELEASE_PPC Power Macintosh powerpc
-Ben
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/7327: -isystem and template linkage
@ 2003-02-21 21:36 Patrick Frants
0 siblings, 0 replies; 5+ messages in thread
From: Patrick Frants @ 2003-02-21 21:36 UTC (permalink / raw)
To: jason; +Cc: gcc-prs
The following reply was made to PR c++/7327; it has been noted by GNATS.
From: Patrick Frants <patrick.frants@quintiq.com>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
hoel@germanlloyd.org, jason@gcc.gnu.org
Cc:
Subject: Re: c++/7327: -isystem and template linkage
Date: Fri, 21 Feb 2003 22:31:34 +0100
This one drove me *crazy* until I finally found this bug report :-)
Any chance it is going to be fixed shortly? :-)
Patrick
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
trail&database=gcc&pr=7327
--
Patrick Frants
Software Architect
Quintiq
Tel: +31 (0)73 691 07 39
Mob: +31 (0)654 23 39 67
patrick.frants@quintiq.com
www.quintiq.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/7327: -isystem and template linkage
@ 2002-10-12 12:04 abrahams
0 siblings, 0 replies; 5+ messages in thread
From: abrahams @ 2002-10-12 12:04 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, hoel, jason, nobody
Synopsis: -isystem and template linkage
Responsible-Changed-From-To: unassigned->jason
Responsible-Changed-By: abrahams
Responsible-Changed-When: Sat Oct 12 12:04:44 2002
Responsible-Changed-Why:
Becase I know Jason will know what I mean when I say what I wrote in the release-note field... (not sure where to add more info)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7327
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/7327: -isystem and template linkage
@ 2002-08-13 7:06 Berthold Höllmann
0 siblings, 0 replies; 5+ messages in thread
From: Berthold Höllmann @ 2002-08-13 7:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/7327: -isystem and template linkage
@ 2002-08-13 4:56 neil
0 siblings, 0 replies; 5+ messages in thread
From: neil @ 2002-08-13 4:56 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, hoel, nobody
Old Synopsis: strange error through using -isystem
New Synopsis: -isystem and template linkage
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.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7327
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-02-21 21:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-03 20:26 c++/7327: -isystem and template linkage Ben Hines
-- strict thread matches above, loose matches on Subject: below --
2003-02-21 21:36 Patrick Frants
2002-10-12 12:04 abrahams
2002-08-13 7:06 Berthold Höllmann
2002-08-13 4:56 neil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).