Boost logo

Boost-Build :

Subject: [Boost-build] Use of 'feature' in user-config.jam file
From: Edward Diener (eldiener_at_[hidden])
Date: 2018-10-23 04:55:54


In my user-config.jam I have:

import toolset ;
import feature ;
using msvc : 14.1 ;
feature.subfeature toolset msvc-14.1 : standard : c14 c17 : optional
composite propagated ;
feature.compose <toolset-msvc-14.1:standard>c14 : <cxxflags>"/std:c++14" ;
feature.compose <toolset-msvc-14.1:standard>c17 :
<cxxflags>"/std:c++latest" ;

I invoke b2 with toolset=msvc-14.1-c14 only to get, among a slew of
Boost Build output:

error: "c14" is not a known subfeature value of <toolset>msvc

What am I doing wrong, and how do I correct it ?


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk