|
Boost : |
Subject: Re: [boost] [config] 'requres' doesn't take differing -std into account
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-06-22 11:56:43
> Hmmm currently I use b2 toolset=clang cxxflags=-std=c++03 is that so
> bad?
>
It depends - on a clean run it's fine, but object files built with some
other -std= option won't get rebuilt, and likewise cached config options
may be out of date.
John.
PS in my user-config.jam I have:
using gcc : 4.9.2 :
"C:/Progra~1/mingw-w64/x86_64-4.9.2-win32-seh-rt_v4-rev2/mingw64/bin/g++.exe"
;
using gcc : 4.9.2s11 :
"C:/Progra~1/mingw-w64/x86_64-4.9.2-win32-seh-rt_v4-rev2/mingw64/bin/g++.exe"
: <cxxflags>-std=gnu++11 ;
using gcc : 4.9.2s14 :
"C:/Progra~1/mingw-w64/x86_64-4.9.2-win32-seh-rt_v4-rev2/mingw64/bin/g++.exe"
: <cxxflags>-std=gnu++14 ;
which works for me.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk