On Tue Dec 6 11:09:51 2022 +0000, Piotr Caban wrote:
I think it's better to allocate the memory as in real class instance. Does something like [0001-tmp.txt](/uploads/eec7600b8daf35363dbd97b88a1e79c1/0001-tmp.txt) help?
Hi Piotr. Yes, it does. gcc doesn't warn with 0001-tmp.txt applied.