Boost logo

Boost :

Subject: Re: [boost] Unescaped special character in argument <cxx, flags>/std:c++nn
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-03-26 20:20:00


AMDG

On 03/26/2018 01:53 PM, Edward Diener via Boost wrote:
> When compiling with vc++ and specifying in my user_config.jam file:
>
> using msvc : 14.1c14 : : <cxxflags>/std:c++14 ;
> using msvc : 14.1c17 : : <cxxflags>/std:c++latest ;
>
> I am getting the messages:
>
> user-config.jam:5: Unescaped special character in argument
> <cxxflags>/std:c++14
> user-config.jam:6: Unescaped special character in argument
> <cxxflags>/std:c++latest
>
> I am using the latest 'develop' branch of Boost Build.
>

It's because of the ':'

> What is the workaround for this ?
>

Quote the value: <cxxflags>"/std:c++14"

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk