Boost logo

Boost :

Subject: Re: [boost] clang-win, again
From: degski (degski_at_[hidden])
Date: 2018-10-31 09:45:27


On Tue, 30 Oct 2018 at 17:18, Peter Dimov via Boost <boost_at_[hidden]>
wrote:

> But you can try with your config, I suppose. Use
>
> <archiver>"\"C:\\Program Files\\LLVM\\llvm-ar.exe\""
>
> for now, to manually quote it.
>

 The correct path is <archiver>"\"C:\\Program
Files\\LLVM\\bin\\llvm-ar.exe\"", but indeed, then it still doesn't work,
without it, it does.

<rc> too.
>

rc, the resource compiler, are you sure that's not a valid Windows-thing?

I did get to compile some 35+ libs, that excludes mpi and python. I did not
yet pass the -flto=thin flag, that seems to cause trouble.

Some random warnings:
...
clang-cl: warning: unknown argument ignored in clang-cl: '-pedantic'
[-Wunknown-argument]
...
In file included from libs\container\src\alloc_lib.c:24:
In file included from libs\container\src/dlmalloc_ext_2_8_6.c:36:
libs\container\src/dlmalloc_2_8_6.c(1878,47): warning: incompatible
pointer types passing 'int *' to parameter of type 'volatile long *'
[-Wincompatible-pointer-types]
...
In file included from libs\contract\src\contract.cpp:11:
In file included from .\boost/contract/detail/inlined.hpp:11:
In file included from .\boost/contract/detail/inlined/core/exception.hpp:18:
In file included from .\boost/exception/diagnostic_information.hpp:11:
.\boost/exception/info.hpp(85,67): warning: expression with side effects
will be evaluated despite being used as an operand to 'typeid'
[-Wpotentially-evaluated-expression]
                    BOOST_ASSERT(
*BOOST_EXCEPTION_DYNAMIC_TYPEID(*p).type_==*ti.type_ );
                                                                  ^
.\boost/exception/info.hpp(134,21): warning: delete called on non-final
'boost::exception_detail::error_info_container_impl' that has virtual
functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
                    delete this;
                    ^
...
clang-cl: warning: unknown argument ignored in clang-cl:
'-ftemplate-depth-255' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl:
'-fvisibility=hidden' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl:
'-fvisibility-inlines-hidden' [-Wunknown-argument]

So, overall, progress has been made, great!

degski

-- 
*“If something cannot go on forever, it will stop" - Herbert Stein*

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