Unescaped special character in argument <cxx, flags>/std:c++nn

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unescaped special character in argument <cxx, flags>/std:c++nn

Boost - Dev mailing list
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.

What is the workaround for this ?





_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: Unescaped special character in argument <cxx, flags>/std:c++nn

Boost - Dev mailing list
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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: Unescaped special character in argument <cxx, flags>/std:c++nn

Boost - Dev mailing list
Steven Watanabe wrote:

> 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"

What is the purpose of this change, Steven?


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: Unescaped special character in argument <cxx, flags>/std:c++nn

Boost - Dev mailing list
AMDG

On 03/26/2018 03:19 PM, Peter Dimov via Boost wrote:

> Steven Watanabe wrote:
>> On 03/26/2018 01:53 PM, Edward Diener via Boost wrote:
>> > using msvc : 14.1c14 : : <cxxflags>/std:c++14 ;
>> >
>> > I am getting the messages:
>> >
>> > user-config.jam:5: Unescaped special character in argument >
>> <cxxflags>/std:c++14
>> <snip>
>> Quote the value: <cxxflags>"/std:c++14"
>
> What is the purpose of this change, Steven?
>

  The ultimate goal is to make it so that you
don't need spaces around punctuation.  The
warning is issued for anything that will
be incompatible with this change.

In Christ,
Steven Watanabe

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost