Open wgreene310 opened 6 months ago
gcc version 13.2.0 (Rev3, Built by MSYS2 project)
many errors similar to the sample below
gcc -g -O3 -DUSE_GKREGEX -IGKlib -Ilibmetis -c -o GKlib/getopt.o GKlib/getopt.c GKlib/getopt.c:750:5: error: conflicting types for 'gk_getopt'; have 'int(int, char , char *)' 750 | int gk_getopt(int argc, char *argv, char options) { | ^~~~~ In file included from GKlib/GKlib.h:69, from GKlib/getopt.c:37: GKlib/gk_getopt.h:55:12: note: previous declaration of 'gk_getopt' with type 'int(int , char ()(), char )' 55 | extern int gk_getopt(int argc, char **argv, char *__shortopts); | ^~~~~
gcc version 13.2.0 (Rev3, Built by MSYS2 project)
many errors similar to the sample below
gcc -g -O3 -DUSE_GKREGEX -IGKlib -Ilibmetis -c -o GKlib/getopt.o GKlib/getopt.c GKlib/getopt.c:750:5: error: conflicting types for 'gk_getopt'; have 'int(int, char , char *)' 750 | int gk_getopt(int argc, char *argv, char options) { | ^
~~~~ In file included from GKlib/GKlib.h:69, from GKlib/getopt.c:37: GKlib/gk_getopt.h:55:12: note: previous declaration of 'gk_getopt' with type 'int(int , char ()(), char )' 55 | extern int gk_getopt(int argc, char **argv, char *__shortopts); | ^~~~~