Closed simonvanderveldt closed 3 years ago
When trying to compile current master I get the following error:
[ 85%] Building CXX object CMakeFiles/fabla.dir/gui/ui_test.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dfabla_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DNDEBUG -g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -fPIC -o CMakeFiles/fabla.dir/gui/ui_test.cxx.o -c /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_test.cxx In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla.h:17, from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_test.cxx:25: /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/header.c:991:11: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs] 991 | "TTT\377??>\377)**\377\377\377\377\377\377\377\377\377\377\377\377\377\377" | /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla_ui.cxx:523:20: error: invalid conversion from 'void* (*)(const _LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const _LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} to 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} [-fpermissive] 523 | {FABLA_UI_URI, instantiate, cleanup, port_event, extension_data} | ^~~~~~~~~~~ | | | void* (*)(const _LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*) {aka void* (*)(const _LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)} make[2]: *** [CMakeFiles/fabla.dir/build.make:89: CMakeFiles/fabla.dir/gui/fabla_ui.cxx.o] Error 1
Removing the noise, it seems like it doesn't like _LV2UI_Descriptor vs LV2UI_Descriptor.
_LV2UI_Descriptor
LV2UI_Descriptor
Full output below:
-- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") -- Checking for module 'lv2' -- Found lv2, version 1.18.0 -- Checking for module 'ntk' -- Found ntk, version 1.3.1000 -- Checking for module 'sndfile' -- Found sndfile, version 1.0.29pre2 Fabla Configuration : 1.3.2 ----------------------- * Install Directory : /usr -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -g -Wall -W -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -Wno-trigraphs C++ -g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build >>> Source configured. >>> Compiling source in /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999 ... >>> Working in BUILD_DIR: "/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build" make -j4 VERBOSE=1 /usr/bin/cmake -S/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999 -B/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build/CMakeFiles /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build' make -f CMakeFiles/fabla.dir/build.make CMakeFiles/fabla.dir/depend make[2]: Entering directory '/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build' cd /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999 /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999 /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build/CMakeFiles/fabla.dir/DependInfo.cmake --color= Dependee "/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build/CMakeFiles/fabla.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build/CMakeFiles/fabla.dir/depend.internal". Dependee "/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build/CMakeFiles/fabla.dir/depend.internal". Scanning dependencies of target fabla make[2]: Leaving directory '/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build' make -f CMakeFiles/fabla.dir/build.make CMakeFiles/fabla.dir/build make[2]: Entering directory '/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build' [ 14%] Building CXX object CMakeFiles/fabla.dir/dsp/fabla.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dfabla_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DNDEBUG -g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -fPIC -o CMakeFiles/fabla.dir/dsp/fabla.cxx.o -c /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx [ 28%] Building CXX object CMakeFiles/fabla.dir/gui/fabla.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dfabla_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DNDEBUG -g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -fPIC -o CMakeFiles/fabla.dir/gui/fabla.cxx.o -c /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla.cxx [ 42%] Building CXX object CMakeFiles/fabla.dir/gui/fabla_ui.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dfabla_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DNDEBUG -g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -fPIC -o CMakeFiles/fabla.dir/gui/fabla_ui.cxx.o -c /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla_ui.cxx [ 57%] Building C object CMakeFiles/fabla.dir/gui/header.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -Dfabla_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DNDEBUG -g -Wall -W -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -Wno-trigraphs -fPIC -o CMakeFiles/fabla.dir/gui/header.c.o -c /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/header.c [ 71%] Building CXX object CMakeFiles/fabla.dir/gui/ui_helpers.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dfabla_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DNDEBUG -g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -fPIC -o CMakeFiles/fabla.dir/gui/ui_helpers.cxx.o -c /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla.h:17, from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla_ui.cxx:33: /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/header.c:991:11: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs] 991 | "TTT\377??>\377)**\377\377\377\377\377\377\377\377\377\377\377\377\377\377" | In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla.h:17, from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla.cxx:3: /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/header.c:991:11: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs] 991 | "TTT\377??>\377)**\377\377\377\377\377\377\377\377\377\377\377\377\377\377" | /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx: In function 'void writeLoadSample(Fabla*, int, const char*, size_t)': /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:54:104: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 54 | LV2_Atom* set = (LV2_Atom*)lv2_atom_forge_blank( forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:54:104: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 54 | LV2_Atom* set = (LV2_Atom*)lv2_atom_forge_blank( forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:58:49: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 58 | lv2_atom_forge_blank( forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:58:49: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 58 | lv2_atom_forge_blank( forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx: In function 'void writePadPlay(Fabla*, int)': /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:86:104: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 86 | LV2_Atom* set = (LV2_Atom*)lv2_atom_forge_blank( forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:86:104: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 86 | LV2_Atom* set = (LV2_Atom*)lv2_atom_forge_blank( forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:90:49: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 90 | lv2_atom_forge_blank( forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:90:49: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 90 | lv2_atom_forge_blank( forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx: In function 'void writeUpdateUiPaths(Fabla*)': /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:115:104: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 115 | LV2_Atom* set = (LV2_Atom*)lv2_atom_forge_blank( forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:115:104: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 115 | LV2_Atom* set = (LV2_Atom*)lv2_atom_forge_blank( forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_helpers.cxx:31: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx: In function 'void* instantiate(const LV2_Descriptor*, double, const char*, const LV2_Feature* const*)': /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:216:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FABLA_DSP'; use assignment or value-initialization instead [-Wclass-memaccess] 216 | memset(self, 0, sizeof(FABLA_DSP)); | ^ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:77:16: note: 'struct FABLA_DSP' declared here 77 | typedef struct { | ^ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:219:37: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FABLA_DSP'; use assignment or value-initialization instead [-Wclass-memaccess] 219 | memset(self, 0, sizeof(Fabla_URIs)); | ^ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:77:16: note: 'struct FABLA_DSP' declared here 77 | typedef struct { | ^ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx: In function 'void run(LV2_Handle, uint32_t)': /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:481:89: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 481 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:481:89: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 481 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:485:82: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 485 | lv2_atom_forge_blank(&self->forge, &body_frame, self->uris->atom_Blank, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:485:82: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 485 | lv2_atom_forge_blank(&self->forge, &body_frame, self->uris->atom_Blank, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:507:89: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 507 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:507:89: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 507 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:511:61: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 511 | lv2_atom_forge_blank(&self->forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:511:61: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 511 | lv2_atom_forge_blank(&self->forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:591:89: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 591 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:591:89: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 591 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:595:61: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 595 | lv2_atom_forge_blank(&self->forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:595:61: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 595 | lv2_atom_forge_blank(&self->forge, &body_frame, 2, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:650:87: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 650 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:650:87: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 650 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:654:59: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 654 | lv2_atom_forge_blank(&self->forge, &body_frame, 1, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:654:59: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 654 | lv2_atom_forge_blank(&self->forge, &body_frame, 1, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:732:85: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 732 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:732:85: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 732 | lv2_atom_forge_blank(&self->forge, &set_frame, 1, self->uris->atom_eventTransfer); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:736:57: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 736 | lv2_atom_forge_blank(&self->forge, &body_frame, 4, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:736:57: warning: 'LV2_Atom_Forge_Ref lv2_atom_forge_blank(LV2_Atom_Forge*, LV2_Atom_Forge_Frame*, uint32_t, LV2_URID)' is deprecated [-Wdeprecated-declarations] 736 | lv2_atom_forge_blank(&self->forge, &body_frame, 4, 0); | ^ In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/dsp/fabla.cxx:27: /usr/lib64/lv2/atom.lv2/forge.h:606:1: note: declared here 606 | lv2_atom_forge_blank(LV2_Atom_Forge* forge, | ^~~~~~~~~~~~~~~~~~~~ [ 85%] Building CXX object CMakeFiles/fabla.dir/gui/ui_test.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -Dfabla_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -DNDEBUG -g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -fPIC -o CMakeFiles/fabla.dir/gui/ui_test.cxx.o -c /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_test.cxx In file included from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla.h:17, from /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/ui_test.cxx:25: /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/header.c:991:11: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs] 991 | "TTT\377??>\377)**\377\377\377\377\377\377\377\377\377\377\377\377\377\377" | /var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999/gui/fabla_ui.cxx:523:20: error: invalid conversion from 'void* (*)(const _LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const _LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} to 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} [-fpermissive] 523 | {FABLA_UI_URI, instantiate, cleanup, port_event, extension_data} | ^~~~~~~~~~~ | | | void* (*)(const _LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*) {aka void* (*)(const _LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)} make[2]: *** [CMakeFiles/fabla.dir/build.make:89: CMakeFiles/fabla.dir/gui/fabla_ui.cxx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build' make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/fabla.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-plugins/fabla-1.9999/work/fabla-1.9999_build' make: *** [Makefile:130: all] Error 2
This should be now closed with merging of #61! Closing here, please reopen if its not fixed (but I stronly expect it is : )
When trying to compile current master I get the following error:
Removing the noise, it seems like it doesn't like
_LV2UI_Descriptor
vsLV2UI_Descriptor
.Full output below: