Boost logo

Boost Users :

Subject: [Boost-users] [Build] -finline-functions no longer supported in clang 3.5
From: Mauricio Carneiro (carneiro_at_[hidden])
Date: 2014-10-01 13:26:55


Hi all,

turns out clang 3.5 is no longer supporting
<http://llvm.org/klaus/clang/commit/6590426aeb5275ec33dac2877f9349bbbb2d4b2e/#0-L-571>
-finline-
<http://llvm.org/klaus/clang/commit/6590426aeb5275ec33dac2877f9349bbbb2d4b2e/#0-L-571>
functions
<http://llvm.org/klaus/clang/commit/6590426aeb5275ec33dac2877f9349bbbb2d4b2e/#0-L-571>,
which it claims never did anything anyway, so this is their way to take it
out of usage.

My release builds (which are done solely through boost build) automatically
add this parameter to the compilation command line, and thus is now failing
(since I use -Werror).

Is there a way to modify the "release" variant not to use that line
anymore? Also, is there a way to extend the command line parameters that
the release variant will use?

Thank you,

Mauricio Carneiro, Ph.D.
http://www.broadinstitute.org/~carneiro/



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