Reducing optimisation
Paul Phillips <[email protected]> Mon, 17 Oct 2011 09:12:07 +1030
| Newsgroups | gmane.comp.gnome.apps.planner.devel |
|---|---|
| Message-ID | <CACPfcm9=5gwzrRGg+Gi9xbCekq=PUwXmpsw6j-UobyQgBo+sig@mail.gmail.com> |
Hi there, Apologies for the novice-level question, but I'm in the process of implementing 408929... I'm using Eclipse-CDT for development - I haven't used it for C/C++ dev before. While debugging, some variables come up as "value optimised away". I thought that I could fix this by editing the auto generated makefile and remove the "-O2" from CFLAGS, but this does not appear to have fixed it. I did a clean & rebuild. I seem to recall a command to run on the executable to find out if it's optimised, but I can't remember this. I'd also love to hear if it is possible to override this setting within Eclipse without modifying the Makefile. I didn't find anything from quick googling. Thanks in advance, Paul. _______________________________________________ planner-dev-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/planner-dev-list