Posted on 2001-07-30
Our system manager, who is not an expert in c++,
has just installed g++3.0 at my request on an IBM workstation. It doesn't work.
I construct the file test.C which contains the single line
and try to compile it using
g++ -c test.C
It produces a large error file which begins with the series
In file included from /rccp/AIX/include/g++-v3/bits/std_iosfwd.h:40,
/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
and carries on in much the same way.
My include path is set to the new includes directory
What is the problem, and how can it be fixed?