05-06-2022, 05:41 AM
Have you checked the results of simply adding
-O2to the builds of
libqb_setup.oand
qbx.cpp, rather than
-Ofast? I'm surprised that they're not already compiled with
-O2, that's certainly something I think should be changed and would likely be sufficient to fix this problem.
-O3is also an option, but frankly considering the state the
libqb.cppcode is in I'm somewhat hesitant to recommend that if
-O2is sufficient. I would personally not recommend using
-Ofastbecause on top of
-O3it actually enables several non-standards-compliant optimizations which I suspect may cause us problems in some situations.