Boost logo

Boost :

Subject: Re: [boost] Clang 4.0.0 MPL error in Boost next.hpp and prior.hpp
From: Peter Dimov (lists_at_[hidden])
Date: 2017-03-26 12:51:18


> using clang : 4.0 :
> "C:/LLVM/bin/clang.exe" :
> <compileflags>-fmsc-version=1910 <linkflags>-v ;
>
> And now it fails to link with the usual mysterious
...
> clang.exe: error: unable to execute command: program not executable
> clang.exe: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> about which problem I can't find anything sensible.

A-ha.

using clang : 4.0 :
  "C:/LLVM/bin/clang.exe" :
  <compileflags>-fmsc-version=1910 <linkflags>-fuse-ld=lld ;

This whines about

ignoring unknown argument: --start-group
ignoring unknown argument: -Bstatic
ignoring unknown argument: -Bdynamic
ignoring unknown argument: --end-group

because lld takes MS link.exe command-line options, not GNU ld, but it
links.


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