Build LimeSuite from source error

System: Ubuntu22_10 all updates
g++/kinetic,now 4:12.2.0-1ubuntu1 amd64 [installed]
LimeSuite Master branch

Hello,
there is a CompileTimeError on LimeSuite.

/usr/include/c++/12/bits/stl_algobase.h:431:30: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing 1 or more bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~^~~~~~~~~~~~~~~~~~~~~~~

and at runtime

(LimeSuiteGUI:5081): Gtk-CRITICAL **: 10:16:48.606: gtk_box_gadget_distribute: assertion ‘size >= 0’ failed in GtkNotebook

Never seen that and not sure if it’s something related to Ubuntu 22.10, as I only ever build on LTS releases. Perhaps @ricardas may have some ideas.

Not an error, just a warning. It’s comming from C++ standard library. I’ve made a change to avoid it.
The runtime assertion is unrelated to this warning.

1 Like

Hello Ricardas,
thank you for your quick response and the change.
I have just test it.
Karlheinz