[cfe-dev] RFC: We should take a more conservative approach to libstdc++ compatibility...
matthieu.monrocq at gmail.com
Fri Jan 11 10:38:33 PST 2013
On Fri, Jan 11, 2013 at 6:31 PM, Krzysztof Parzyszek <
kparzysz at codeaurora.org> wrote:
> On 1/11/2013 6:17 AM, Marc Glisse wrote:
>> I would weaken it a bit by saying: only use a version higher than this
>> hardcoded value if you couldn't find a safer one. Warn all you like
>> (with -Wtoo-recent-libstdc++ on by default), but if there is only
>> libstdc++-4.9 on my machine and clang refuses to even try to use it,
>> that's a pain.
> The max value could be overridden by a secret option to "configure".
Would an option be more suitable ? The problem of configure is that
releases are also distributed as binaries...
Possibly, reusing `-stdlib` flag as `-stdlib=libstc++v4.9`.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by The Linux Foundation
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev