I get build error
[ 89%] Building CXX object src/CMakeFiles/Tenacity.dir/tracks/playabletrack/wavetrack/ui/CutlineHandle.cpp.o
In file included from /home/fre/ARCH-AUR/tenacity-wxgtk3-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from /home/fre/ARCH-AUR/tenacity-wxgtk3-git/src/tenacity/include/../lib-src/header-substitutes/allegro.h:4:
/usr/include/portsmf/allegro.h:632:9: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
memcpy(newbuf, buffer, *len);
^
/usr/include/wchar.h:263:17: note: 'wmemcpy' declared here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
^
In file included from /home/fre/ARCH-AUR/tenacity-wxgtk3-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from /home/fre/ARCH-AUR/tenacity-wxgtk3-git/src/tenacity/include/../lib-src/header-substitutes/allegro.h:4:
/usr/include/portsmf/allegro.h:632:16: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'char *'
memcpy(newbuf, buffer, *len);
^~~~~~
/usr/include/wchar.h:263:46: note: passing argument to parameter '__s1' here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
^
2 errors generated.
make[2]: *** [src/CMakeFiles/Tenacity.dir/build.make:4402: src/CMakeFiles/Tenacity.dir/tracks/playabletrack/notetrack/ui/StretchHandle.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:526: src/CMakeFiles/Tenacity.dir/all] Error 2
Pinned Comments