GNOME Bugzilla – Bug 753121
gtkmm requires C++11, but gnome-system-monitor still sets -std=c++98 in configure.ac
Last modified: 2015-08-02 04:44:49 UTC
Recent updates in gtkmm cause it to require C++11, so -std=c++98 set in gnome-system-monitor causes build failure. Replacing -std=c++98 with -std=c++11 can resolve the problem.
Created attachment 308596 [details] [review]
build: Replace -std=c++98 with -std=c++11
Gtkmm requires C++11 now.
Review of attachment 308596 [details] [review]:
Thanks, looks fine, feel free to push.
Attachment 308596 [details] pushed as e5d3ac0 - build: Replace -std=c++98 with -std=c++11
We may just the drop the -std and let the compiler do what it wants.
Back then, I added that to ensure compatibility with gcc-2.9x.
Let's drop it.
We cannot drop it because some compilers use C++98 as the default standard version.
Then let's do it smartly like Murray : https://git.gnome.org/browse/gnome-system-monitor/commit/?id=d81fe60bc3d6a481b6bc330490fd079b5cc30acc