drufat/triangle

Can not build on arch linux

Closed this issue · 1 comments

shrit commented

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()

The messages that you have displayed are warnings not errors.