[Boost-bugs] [Boost C++ Libraries] #6697: toolset darwin-4.7 error: unrecognized option -no-cpp-precomp

Subject: [Boost-bugs] [Boost C++ Libraries] #6697: toolset darwin-4.7 error: unrecognized option -no-cpp-precomp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-17 10:38:46


#6697: toolset darwin-4.7 error: unrecognized option -no-cpp-precomp
------------------------------+---------------------------------------------
 Reporter: Julian Gonggrijp | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 I installed gcc 4.7 from macports and added the following to my user-
 config.jam:

 {{{
 using darwin
     : 4.7
     : /opt/local/bin/g++-mp-4.7
     ;
 }}}

 Now when I run

 {{{ $ b2 darwin-4.7 }}}

 , the build process will stop at compilation stage because of an error:

 {{{ g++-mp-4.7: error: unrecognized command line option '-no-cpp-precomp'
 }}}

 `-no-cpp-precomp` was already unrecognized in darwin-4.4, but then it only
 caused a warning without further obstructing the build process. I don't
 know at what version of darwin-gcc this changed into an error.

 If I repeat the displayed command without the `-no-cpp-precomp` option it
 works fine. Linking also works without errors.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6697>
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:09 UTC