Boost logo

Boost Users :

Subject: Re: [Boost-users] I ran b2 with the -d+2 command and redirected the output to a file
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2019-01-06 18:13:11


 

 

From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Osman Zakir via Boost-users
Sent: 06 January 2019 16:33
To: boost-users_at_[hidden]
Cc: Osman Zakir
Subject: Re: [Boost-users] I ran b2 with the -d+2 command and redirected the output to a file

 

I managed to build it with MSVC. But none of the <cxxflags> arguments worked so I had to them all out of the configuration file.

 

I think that this is partly because you are using Microsoft compiler options

 

https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options?view=vs-2017

 

with Clang compiler

 

https://clang.llvm.org/docs/UsersManual.html#command-line-options

 

but also because the way of negating using b2/bjam is different, for example

 

-<toolset>msvc:<define>_DEBUG # Undefine DEBUG.

 

so to switch off permissive you should use

 

-<cxxflags>/permissive

 

and probably not

 

<cxxflags>/permissive-

 

But get it working before you try to enforce standards?

 

Sorry - I should have spotted this before.

 

Paul

 

 

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830
 
 
 
 
 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net