argman / EAST

A tensorflow implementation of EAST text detector
GNU General Public License v3.0
3.02k stars 1.05k forks source link

make error #262

Open cuimiao187561 opened 5 years ago

cuimiao187561 commented 5 years ago

g++ -o adaptor.so -I include -std=c++11 -O3 -I/home/gnss/anaconda3/include/python3.5m -I/home/gnss/anaconda3/include/python3.5m -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -L/home/gnss/anaconda3/lib -lpython3.5m -lpthread -ldl -lutil -lrt -lm -Xlinker -export-dynamic adaptor.cpp include/clipper/clipper.cpp --shared -fPIC cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from include/pybind11/pytypes.h:12:0, from include/pybind11/cast.h:13, from include/pybind11/attr.h:13, from include/pybind11/pybind11.h:43, from adaptor.cpp:1: adaptor.cpp: In function ‘PyObject PyInit_adaptor()’: include/pybind11/common.h:232:20: warning: ‘PyObject pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations] return pybind11_init();
^ adaptor.cpp:53:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ PYBIND11_PLUGIN(adaptor) { ^ include/pybind11/common.h:217:22: note: declared here static PyObject pybind11_init();
^ adaptor.cpp:53:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ PYBIND11_PLUGIN(adaptor) { ^ include/pybind11/common.h:232:20: warning: ‘PyObject
pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations] return pybind11_init();
^ adaptor.cpp:53:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ PYBIND11_PLUGIN(adaptor) { ^ include/pybind11/common.h:217:22: note: declared here static PyObject pybind11_init();
^ adaptor.cpp:53:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ PYBIND11_PLUGIN(adaptor) { ^ include/pybind11/common.h:232:34: warning: ‘PyObject
pybind11_init()’ is deprecated: PYBIND11_PLUGIN is deprecated, use PYBIND11_MODULE [-Wdeprecated-declarations] return pybind11_init();
^ adaptor.cpp:53:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ PYBIND11_PLUGIN(adaptor) { ^ include/pybind11/common.h:217:22: note: declared here static PyObject pybind11_init();
^ adaptor.cpp:53:1: note: in expansion of macro ‘PYBIND11_PLUGIN’ PYBIND11_PLUGIN(adaptor) { ^ cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ include/clipper/clipper.cpp: In member function ‘void ClipperLib::Clipper::FixupFirstLefts3(ClipperLib::OutRec
, ClipperLib::OutRec)’: include/clipper/clipper.cpp:3665:13: warning: unused variable ‘firstLeft’ [-Wunused-variable] OutRec firstLeft = ParseFirstLeft(outRec->FirstLeft)

Hugh0120 commented 5 years ago

same issue here