[C++-sig] Error in BPL v2 build using KCC on tru64
Joe Koning
koning at pobox.com
Mon Jun 17 18:47:39 CEST 2002
I get this error when building boost python on a tru64 v5.1 based alpha
system using KCC v3.4d and 4.0f. I have built the v2 boost python library
successfully in the past using the 3.4d compiler (boost python v2 will not
compile at all with the tru64cxx tools):
KCC -c -DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_V2
-DBOOST_PYTHON_SOURCE -g +K0 -I"../../libs/python" -I"."
-I"/usr/casc/EMSolve/OSF1/include/python2.2"
-I"/usr/casc_scratch/koning/boost" -o
"../../libs/python/bin/libbpl.so/kcc/debug/object_protocol.o"
"src/object_protocol.cpp"
"src/object_protocol.cpp", line 13: error: specific definition of inline
template function must precede its first use
object getattr(object const& target, object const& key)
^
"src/object_protocol.cpp", line 18: error: specific definition of inline
template function must precede its first use
void setattr(object const& target, object const& key, object const&
value)
^
"src/object_protocol.cpp", line 24: error: specific definition of inline
template function must precede its first use
object getitem(object const& target, object const& key)
^
"src/object_protocol.cpp", line 29: error: specific definition of inline
template function must precede its first use
void setitem(object const& target, object const& key, object const&
value)
^
4 errors detected in the compilation of "src/object_protocol.cpp".
KCC: Compilation failed.
Thanks,
Joe
More information about the Cplusplus-sig
mailing list