This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libstdc++/3866: g++ : multiple "template with C linkage" in any stl



>Number:         3866
>Category:       libstdc++
>Synopsis:       g++ : multiple "template with C linkage" in any stl
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 23:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     vil@rccp.tsukuba.ac.jp
>Release:        gcc-3.0
>Organization:
>Environment:
powerpc-ibm-aix4.3.2.0
Configured with: ../gcc-3.0/configure --prefix=/rccp/AIX
>Description:
the programme
#include<iostream>
produces a long string of "Template with C linkage" errors
beginning with
In file included from /rccp/AIX/include/g++-v3/bits/std_iosfwd.h:40,
                 from /rccp/AIX/include/g++-v3/bits/std_ios.h:39,
                 from /rccp/AIX/include/g++-v3/bits/std_ostream.h:39,
                 from /rccp/AIX/include/g++-v3/bits/std_iostream.h:40,
                 from /rccp/AIX/include/g++-v3/iostream:31,
                 from test.C:1:
/rccp/AIX/include/g++-v3/bits/stringfwd.h:44: template with C linkage
/rccp/AIX/include/g++-v3/bits/stringfwd.h:52: template with C linkage
/rccp/AIX/include/g++-v3/bits/stringfwd.h:56: template with C linkage
does not produce .o file.
>How-To-Repeat:
cat> test.C
#include<iostream>
ctrl-D
g++ -c test.C
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]