drufat / triangle

Python bindings to the triangle library
GNU Lesser General Public License v3.0
236 stars 54 forks source link

Can not build on arch linux #36

Closed shrit closed 5 years ago

shrit commented 5 years ago

Build fails on arch linux with this error. gcc version 8.2.1

building 'triangle.core' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/c
    creating build/temp.linux-x86_64-2.7/triangle
    gcc -pthread -B /meta/anaconda3/envs/signal2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DVOID=void -DREAL=double -DNO_TIMER=1 -DTRILIBRARY=1 -DANSI_DECLARATORS=1 -Ic -I/meta/anaconda3/envs/signal2/include/python2.7 -c c/triangle.c -o build/temp.linux-x86_64-2.7/c/triangle.o
    c/triangle.c:3274:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
     void internalerror()
          ^~~~~~~~~~~~~
    c/triangle.c:4893:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
     void exactinit()
          ^~~~~~~~~
    c/triangle.c:13216:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
     void precisionerror()
drufat commented 5 years ago

The messages that you have displayed are warnings not errors.