On Freitag, 15. Februar 2019 15:00:36 CET Konstantin Shegunov wrote:
> Hello,
> That flag's been a pain for me to debug the Qt codebase for a while now,
> I'm really annoyed that configure generates it when using -developer-build.
> Long story short it prevents me to do step-by-step with gdb as the compiler
> reorders the code as it sees fit (no clue why). I remember I had found a
> commit from about 2-3 years ago which introduced it, and even found how to
> disable it, but for the life of me I couldn't find it again during my most
> recent searches.
> How can I disable the debug optimizations, and I mean completely?
> 
You disable it with -no-optimize-debug on the configure line

'Allan


_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to