Closed douglasgscofield closed 1 year ago
Hi @douglasgscofield,
thanks for reporting this - it is indeed an overly cautious compiler. This particular warning is a known false positive in gcc 12, see here. Not much I can do about it unfortunately. I've added a few assertions to that code now, just to be sure, but the warning won't go away from that. Also, that particular function is in a bit of code of my genesis library that is not used in grenedalf at all at the moment, so it wouldn't even show up there ;-)
Hope that helps, and let me know if you encounter any further trouble.
Cheers Lucas
It may be an overly cautious gcc 12.3.0 compiler but during a successful linking I see:
Note that I build with cmake separately as I'd prefer to use non-system modules for liblzma libbz2 libdeflate and libz that we already have.