On 10/31/12 11:13 PM, Graham Murray wrote: > Ryan Hill <dirtye...@gentoo.org> writes: > >> Christ on a $#@%! crutch. You can NOT auto-enable C++11 in your library >> based >> on a configure test and then stuff flags that are not supported by previous >> compiler versions into pkg-config for library consumers. Somebody sane >> please fix this. > > Though is it not normally a reasonable assumption that the library > consumers will be built with the same or later compiler version as the > library? In which case it does no harm.
To clarify: same compiler can support different versions of C++ standard. Those versions are not guaranteed to be compatible, and e.g. chromium fails to compile when -std=gnu++11 is forced (<https://bugs.gentoo.org/show_bug.cgi?id=439698>), while is otherwise compatible with gcc-4.7.
signature.asc
Description: OpenPGP digital signature