Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-09-13 04:48:03


I got following error when including <boost/mpl/bool_c.hpp> with the mipspro
compiler on SGI :

Also, I see that <boost/mpl/bool_c.hpp> includes <boost/mpl/integral_c.hpp>
Is this really necessary, or could integral_ops be moved to integral_c.hpp ?

toon

...failed mipspro-C++-action
/home/fft/tk//DO/modules/component/src/bin/libcomponent.a/mipspro/debug/interface.o...
cc-3354 CC: ERROR File =
/home/fft/tk//femtown/../boost/boost/mpl/integral_c.hpp, Line = 39
  A non-integral operation is not allowed in a nontype template argument.

mipspro-C++-action
/home/fft/tk//DO/modules/component/test/bin/tree_mp/mipspro/debug/tree.o
          typedef integral_c<T, value + 1> next;
                                      ^

cc-3354 CC: ERROR File =
/home/fft/tk//femtown/../boost/boost/mpl/integral_c.hpp, Line = 40
  A non-integral operation is not allowed in a nontype template argument.

          typedef integral_c<T, value - 1> prior;
                                      ^

cc-3354 CC: ERROR File =
/home/fft/tk//femtown/../boost/boost/mpl/integral_c.hpp, Line = 39
  A non-integral operation is not allowed in a nontype template argument.

          typedef integral_c<T, value + 1> next;
                                      ^

cc-3354 CC: ERROR File =
/home/fft/tk//femtown/../boost/boost/mpl/integral_c.hpp, Line = 40
  A non-integral operation is not allowed in a nontype template argument.

          typedef integral_c<T, value - 1> prior;
                                      ^

cc-3354 CC: ERROR File =
/home/fft/tk//femtown/../boost/boost/mpl/integral_c.hpp, Line = 39
  A non-integral operation is not allowed in a nontype template argument.

          typedef integral_c<T, value + 1> next;
                                      ^

cc-3354 CC: ERROR File =
/home/fft/tk//femtown/../boost/boost/mpl/integral_c.hpp, Line = 40
  A non-integral operation is not allowed in a nontype template argument.

          typedef integral_c<T, value - 1> prior;
                                      ^


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk