boostorg / boostorg/python

Compilation failure with Python 3.2

オープン
#163 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
numpy
主要言語
C++
スター
537
フォーク
223
平均マージ
11時間 22分
マージ済み PR(30日)
2

説明

Boost 1.65.1 fails to compile on Debian Wheezy with Python 3.2:

```
libs/python/src/numpy/ndarray.cpp: In function 'boost::python::numpy::ndarray::bitflag boost::python::numpy::detail::numpy_to_bitflag(int)':
libs/python/src/numpy/ndarray.cpp:25:11: error: 'NPY_ARRAY_C_CONTIGUOUS' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:26:11: error: 'NPY_ARRAY_F_CONTIGUOUS' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:27:11: error: 'NPY_ARRAY_ALIGNED' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:28:11: error: 'NPY_ARRAY_WRITEABLE' was not declared in this scope
libs/python/src/numpy/ndarray.cpp: In function 'int boost::python::numpy::detail::bitflag_to_numpy(boost::python::numpy::ndarray::bitflag)':
libs/python/src/numpy/ndarray.cpp:35:39: error: 'NPY_ARRAY_C_CONTIGUOUS' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:36:39: error: 'NPY_ARRAY_F_CONTIGUOUS' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:37:34: error: 'NPY_ARRAY_ALIGNED' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:38:36: error: 'NPY_ARRAY_WRITEABLE' was not declared in this scope
libs/python/src/numpy/ndarray.cpp: In function 'boost::python::numpy::ndarray boost::python::numpy::detail::from_data_impl(void*, const boost::python::numpy::dtype&, const std::vector&, const std::vector&, const boos
libs/python/src/numpy/ndarray.cpp:122:27: error: 'NPY_ARRAY_WRITEABLE' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:123:59: error: 'NPY_ARRAY_C_CONTIGUOUS' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:124:59: error: 'NPY_ARRAY_F_CONTIGUOUS' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:125:47: error: 'NPY_ARRAY_ALIGNED' was not declared in this scope
libs/python/src/numpy/ndarray.cpp: In function 'boost::python::numpy::ndarray boost::python::numpy::array(const boost::python::api::object&)':
libs/python/src/numpy/ndarray.cpp:246:45: error: 'NPY_ARRAY_ENSUREARRAY' was not declared in this scope
libs/python/src/numpy/ndarray.cpp: In function 'boost::python::numpy::ndarray boost::python::numpy::array(const boost::python::api::object&, const boost::python::numpy::dtype&)':
libs/python/src/numpy/ndarray.cpp:252:65: error: 'NPY_ARRAY_ENSUREARRAY' was not declared in this scope
libs/python/src/numpy/ndarray.cpp:253:1: warning: control reaches end of non-void function [-Wreturn-type]
libs/python/src/numpy/ndarray.cpp: In function 'boost::python::numpy::ndarray boost::python::numpy::array(const boost::python::api::object&)':
libs/python/src/numpy/ndarray.cpp:247:1: warning: control reaches end of non-void function [-Wreturn-type]
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。