Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation errors with gcc 13.2.0 #85

Open
wgreene310 opened this issue Mar 12, 2024 · 1 comment
Open

compilation errors with gcc 13.2.0 #85

wgreene310 opened this issue Mar 12, 2024 · 1 comment

Comments

@wgreene310
Copy link

No description provided.

@wgreene310
Copy link
Author

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);
| ^~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant