[C++-sig] Boost.Python v2: ** important **

chuzo okuda okuda1 at llnl.gov
Tue Sep 17 00:09:35 CEST 2002


David Abrahams wrote:
> 
> * Boost.Python v2 and MPL have both been moved completely to the main trunk
> of Boost CVS. To get a CVS snapshot that reflects the current state of the
> world:
> 
>     cd <boost-root-directory>
>     cvs update -P -d -A .
> 
> If you've been using Boost.Python v2, you've been using the mpl-development
> branch of boost/mpl. That will no longer work. If you don't take the steps

I followed exactly above and I got a lot of compiling errors when
building bpl lib. Does it work on KCC? (It was buiilding ok for AIX and
OSF1 platforms with debug option and KCC compiler prior to the major
update of Boost.Python...)
Chuzo



tc43(67) buildBPL
...found 818 targets...
...updating 23 targets...
kcc-C++-action ../../libs/python/bin/libbpl.so/kcc/debug/list.o
"/usr/dnta/kull/workspaces/okuda/boostPython/boost/boost/mpl/integral_c.hpp",
line 35: error:
          non-integral operation not allowed in nontype template
argument
      typedef integral_c<T, value + 1> next;
                                  ^

"/usr/dnta/kull/workspaces/okuda/boostPython/boost/boost/mpl/integral_c.hpp",
line 36: error:
          non-integral operation not allowed in nontype template
argument
      typedef integral_c<T, value - 1> prior;
                                  ^

2 errors detected in the compilation of "src/list.cpp".
KCC: Compilation failed.

     KCC  -c  -DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_V2
-DBOOST_PYTHON_SOURCE  -g +K0   -I"../../libs/python" 
-I"/usr/dnta/kull/developers/libraries/v2/2/tru64_5/debug/include/python2.2"
-I"/usr/dnta/kull/workspaces/okuda/boostPython/boost"  -o
"../../libs/python/bin/libbpl.so/kcc/debug/list.o"  "src/list.cpp"

**** snips *****




More information about the Cplusplus-sig mailing list