
David Abrahams wrote:
Chris Coleman wrote:
The result below is repeated many many times about various files:
/opt/sfw/gcc-3.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -c -o zz_broker.o `test -f zz_broker.cpp || echo './'`zz_broker.cpp In file included from /opt/sfw/gcc-3.2/include/c++/3.2/utility:66, from /staff/cqc/include/boost/config/select_stdlib_config.hpp:20, from /staff/cqc/include/boost/config.hpp:40, from /staff/cqc/include/boost/smart_ptr.hpp:14, from zz_broker.h:28, from zz_broker.cpp:24: /opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:91: template with C linkage /opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:104: template with C linkage /opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:117: template with C linkage /opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:130: template with C linkage
Does the same problem happen with the following C++ file?
#include <utility> int main() {}
If so, it's not a boost problem.
The above code seems to compile without problem on the solaris box: marian$ cat test.cpp #include <utility> int main() {} marian$ /opt/sfw/gcc-3.2/bin/g++ test.cpp marian$ Cheers Chris This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.