[Boost-bugs] [Boost C++ Libraries] #9815: cxxflags are applied to C source files in darwin-clang

Subject: [Boost-bugs] [Boost C++ Libraries] #9815: cxxflags are applied to C source files in darwin-clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-28 22:01:04


#9815: cxxflags are applied to C source files in darwin-clang
-------------------------------------+---------------------------
 Reporter: tabsoftwareconsutling@… | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+---------------------------
 The cxxflags are also applied to compiling C source files when using clang
 on OS X (darwin). I believe this is a bug at least relative to the
 documentation and the discussion on the boost.build mailing list.

 http://thread.gmane.org/gmane.comp.lib.boost.build/26422

 I've attached a Boost.Build project (and some output) that shows the
 problem.

 I was able to test the following locally:

 - OS X

    - darwin (gcc) - OK
    - clang - FAIL

 - Linux

    - gcc - OK
    - clang - OK (see below)

 By inspection, at least the following seem to be incorrect as well:

 - borland
 - intel-darwin

 The fix seems to be just changing compile to compile.c++ where cxxflags is
 used there.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9815>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC