0

ラップトップ (MAC OS10.8) で ns2.34 をコンパイルしようとしています。いくつかの問題を解決した後、次の問題に遭遇しました。

In file included from /opt/local/include/gcc48/c++/complex:44:0,
             from /opt/local/include/boost/type_traits/is_complex.hpp:12,
             from /opt/local/include/boost/type_traits.hpp:49,
             from /opt/local/include/boost/pending/property.hpp:13,
             from /opt/local/include/boost/graph/graph_traits.hpp:27,
             from ./more_leastCost/leastcost.h:16,
             from ./mobile/god.h:57,
             from gaf/gaf.cc:53:
/opt/local/include/gcc48/c++/cmath:99:16: error: 'template<class _Tp> typename
 __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::abs(_Tp)'
 conflicts with previous using declaration 'template<class Type> Type abs(Type)'
 abs(_Tp __x)
            ^
make: *** [gaf/gaf.o] Error 1

エラーはGCC内の競合によって引き起こされているように思えますか? 以前にこの問題に遭遇した人はいますか?

4

0 に答える 0