-fomit-frame-pointer CFLAG


          I noticed my environment is setting -fomit-frame-pointer by default when building any project, while I'm specifying de optimization level 0(-O0). Is there anyway to disable it? 


Have a look to your project properties > C/C++ Build > Settings, in the compiler options. You can tune all the options that you want from here.

You’re right, I didn’t notice the check box for this option. Thank you!