GNOME Bugzilla – Bug 700005
Don't disable deprecated API by default
Last modified: 2013-09-04 09:40:10 UTC
Deprecated API is disable in configure.ac, however there's no configure options to change that. While this is useful for removing all the deprecated API from your code, it's not a good idea to have it enabled by default, particularly in releases. With this you're making builds fail in cases where they would otherwise work. See http://bugs.debian.org/707379 for an example.
Created attachment 243688 [details] [review] Patch
Thanks for the patch, I also think it's a good idea to fix this. However, instead of just removing those flags right away, I'd rather keep them for debug builds at leas, which is the ones that I use all the time for development.
Sure, as long as it's configurable I think it's fine.
I've just come across this bug while checking which open bugs frogr had and was wondering whether you are still interested in committing this change. If you are not, I will probably just add that line you are removing from release builds, but wanted to double check first with you in case you preferred any other option (e.g. adding a parameter to configure)
As long as they're not enabled by default I think I'm fine with any option.
Created attachment 254011 [details] [review] Disable only when compiling with --enable-debug Here's an alternative patch that enables those settings in debug mode only.
Comment on attachment 254011 [details] [review] Disable only when compiling with --enable-debug (In reply to comment #6) > Created an attachment (id=254011) [details] [review] > Disable only when compiling with --enable-debug > > Here's an alternative patch that enables those settings in debug mode only. Cool. Please feel free to commit it and resolve this bug when you want. Thanks!
Thanks, fixed https://git.gnome.org/browse/frogr/commit/?id=1761d241a44e9f20cbc90728312e5bf343d1e3ed