New paste Repaste Download
/tmp/sacd-extract/src/libsacd/sacd_reader.c:122:25: error: call to undeclared function '_strdup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  122 |         return (char *) _strdup(path);
      |                         ^
/tmp/sacd-extract/src/libsacd/sacd_reader.c:122:25: note: did you mean 'strdup'?
/usr/include/string.h:95:7: note: 'strdup' declared here
   95 | char    *strdup(const char *) __malloc_like;
      |          ^
/tmp/sacd-extract/src/libsacd/sacd_reader.c:122:16: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
  122 |         return (char *) _strdup(path);
      |                ^~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
*** Error code 1
Stop.
make[2]: stopped making "CMakeFiles/sacd_extract.dir/build" in /tmp/sacd-extract_build
*** Error code 1
Stop.
make[1]: stopped making "all" in /tmp/sacd-extract_build
*** Error code 1
Stop.
make: stopped making "default_target" in /tmp/sacd-extract_build
Filename: None. Size: 1kb. View raw, , hex, or download this file.

This paste expires on 2025-09-21 16:56:35.607802. Pasted through web.