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

Compile Error in Debian sid (clang 16.0.6) #8

Open
holishing opened this issue Sep 1, 2024 · 0 comments
Open

Compile Error in Debian sid (clang 16.0.6) #8

holishing opened this issue Sep 1, 2024 · 0 comments

Comments

@holishing
Copy link
Member

holishing commented Sep 1, 2024

https://github.com/bbsdocker/imageptt/actions/runs/9700365062/job/26771584227

#19 56.05 In file included from mergedir2.cc:7:
#19 56.05 In file included from ../include/bbs.h:13:
#19 56.05 /usr/include/string.h:506:15: error: exception specification in declaration does not match previous declaration
#19 56.05 extern size_t strlcpy (char *__restrict __dest,
#19 56.05               ^
#19 56.05 ../include/osdep.h:33:8: note: previous declaration is here
#19 56.05 size_t strlcpy(char *dst, const char *src, size_t size);
#19 56.05        ^
#19 56.05 In file included from mergedir2.cc:7:
#19 56.05 In file included from ../include/bbs.h:13:
#19 56.05 /usr/include/string.h:512:15: error: exception specification in declaration does not match previous declaration
#19 56.05 extern size_t strlcat (char *__restrict __dest,
#19 56.05               ^
#19 56.05 ../include/osdep.h:37:8: note: previous declaration is here
#19 56.05 size_t strlcat(char *dst, const char *src, size_t size);
#19 56.05        ^
#19 56.15 2 errors generated.
#19 56.16 *** Error code 1
#19 56.16 
#19 56.16 Stop.
#19 56.16 bmake[1]: stopped in /home/bbs/pttbbs/util
#19 56.16 *** Error code 1
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