$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] clang-win, (Thin)LTO this time
From: Robert (r.firl_at_[hidden])
Date: 2018-11-06 15:44:58
On 11/6/2018 6:29 AM, degski via Boost wrote:
> On Tue, 6 Nov 2018 at 14:17, degski <degski_at_[hidden]> wrote:
> 
>>   I did, and I've use this project-config:
>>
>> import option ;
>> using clang-win : : "C:\\Program Files\\LLVM\\bin\\clang-cl.exe"
>> -fuse-ld=lld :
>>      <compatibility>vc14
>>      <compileflags>-fmsc-version=1915
>>      <compileflags>-fms-compatibility
>>      <compileflags>-fno-delayed-template-parsing
>>      <compileflags>-flto=thin
>>      <cxxflags>"/std:c++17"
>>
> 
> Somebody asked about this, I believe Robert, so yes, compiles fine, even
> with C++17 [serialization and wserialization].
I do not recall if I ask.  However, I have to escape the colon character 
with a backslash.  I discover that by accident a few builds ago with b2, 
building all Boost with the cl.exe, approximately Visual Studio 15.6.4. 
Have you observed any messages stating how an unknown option is ignored? 
  I purposely redirect all b2 output to a text file with the redirect 
operator.  The tail end of the b2 invocation is similar to:
 >buildVSx64Fri5_6.log 2>&1
I highly recommend using the "2>&1".  All error and normal messages will 
be in the one text file.  Reviewing the file should isolate results faster.
--Robert
> 
>      <cxxflags>"/Zc:forScope"
>>      <cxxflags>"/arch:AVX2"
>>      <cxxflags>"/Zc:wchar_t"
>>      <cxxflags>"/EHsc"
>>
> 
> By default, /EHs is used and passed in it seems [so the above duplicates
> this option, differently]. /EHs is not the default [/EHsc is] and in the
> IDE, it [/EHs] is marked "Yes with Extern C functions". I don't know what
> exactly this entails, but "Yes with Extern C functions" does not exactly
> strike me as the thing I want [but who knows, maybe I do].
> 
>      <cxxflags>"/Zc:inline"
>>      <cxxflags>"/Gd"
>>      <cxxflags>"/diagnostics:classic"
>>      <cxxflags>-Wno-unknown-argument
>>      <cxxflags>-Wno-unknown-pragmas
>>      <cxxflags>-Wno-macro-redefined
>>      <cxxflags>-Wno-unused-variable
>>      <cxxflags>-Wno-mismatched-tags
>>      <cxxflags>-Wno-deprecated-declarations
>>      <cxxflags>-D_UNICODE
>>      <cxxflags>-DUNICODE
>>      <cxxflags>-DBOOST_USE_WINDOWS_H
>>      <cxxflags>-DBOOST_NO_ANSI_APIS
>>      <cxxflags>-DBOOST_USE_WINAPI_VERSION=0x1000
>>      <cxxflags>-DBOOST_USE_WINDOWS_H=1
>>      <cxxflags>-DNOMINMAX
>>      <cxxflags>-DWIN32_LEAN_AND_MEAN
>>      <cxxflags>-D_CRT_SECURE_NO_WARNINGS
>> ;
>>
> 
> degski
>