Open alex-tee opened 3 years ago
built carla using yay -S carla-git from AUR, got these warnings
yay -S carla-git
Compiling CarlaBridgeSingleLV2.cpp In file included from ../utils/CarlaLv2Utils.hpp:39, from ../backend/plugin/CarlaPluginLV2.cpp:25: In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:3823:50: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 32 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4153:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 32 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4153:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 33 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4153:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 34 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4124:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 32 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4124:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 33 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4124:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 34 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4067:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 32 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4067:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 33 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms; | ^~~~~ In function ‘bool lv2_atom_buffer_write(LV2_Atom_Buffer_Iterator*, uint32_t, uint32_t, uint32_t, uint32_t, const uint8_t*)’, inlined from ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’ at ../backend/plugin/CarlaPluginLV2.cpp:4035:54: ../includes/lv2/atom-helpers.h:234:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 234 | memcpy(LV2_ATOM_BODY(&ev->body), data, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../includes/lv2/atom-helpers.h: In member function ‘virtual void CarlaBackend::CarlaPluginLV2::process(const float* const*, float**, const float* const*, float**, uint32_t)’: ../includes/lv2/atom-helpers.h:57:27: note: at offset 32 into destination object ‘_LV2_Atom_Buffer::atoms’ of size 16 57 | LV2_Atom_Sequence atoms;
gcc 11.1.0
built carla using
yay -S carla-git
from AUR, got these warnings