You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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
The text was updated successfully, but these errors were encountered:
holishing
changed the title
unable to compile source code in Debian sid (clang 16.0.6)
Unable to compile source code in Debian sid (clang 16.0.6)
Sep 1, 2024
Maybe an actual test for the existence of a certain system function is needed, which can be achieved by, e.g., compiling and linking a test program without the BBS library to see whether there are any undefined references.
Just add a memo (from bbsdocker/imageptt#8 ).
If someday I find a solution, I will share here and perhaps add a PR about this.
https://github.com/bbsdocker/imageptt/actions/runs/9700365062/job/26771584227
The text was updated successfully, but these errors were encountered: