On 09/23/2015 02:56 AM, Josh Stone wrote:
On 09/22/2015 05:49 PM, Mamoru TASAKA wrote:
> Rather, can't be pkgconfig file in gtkmm30 modified for now to add -std=c++11
> to Cflags?
I'd guess that they really require *at least* c++11.
A project might instead choose gnu++11, c++14, gnu++14, etc.
Yes, agreed; I think that's a good reason why to not put it in the
pkgconfig file.
I am sure we'll sooner or later find a project that wants to support
another C++ dialect, such as C++14, and then if gtkmm30's pkgconfig file
overrides it, we'd a conflict between -std=c++11 and -std=c++14 and then
we'd have to back it out from the pkgconfig file and would be back to
square one :)
Good idea though, thanks!
--
Kalev