Boost logo

Boost-Build :

Subject: [Boost-build] [build] Darwin g++: error: unrecognized command line option ‘-no-cpp-precomp’
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-04-21 12:53:55


Hi,

I'm getting the following compile error

g++: error: unrecognized command line option ‘-no-cpp-precomp’

The same error occurs with gcc-4.6.2.
The error doesn't occurs on trunk.

Is this a know issue?

Best,
Vicente

P.S. a have recompiled bjam

../../../bjam -v
Boost.Jam Version 2011.4. OS=MACOSX.
    Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
    Copyright 2001 David Turner.
    Copyright 2001-2004 David Abrahams.
    Copyright 2002-2008 Rene Rivera.
    Copyright 2003-2008 Vladimir Prus.

Unfortunately I get the same version from the bjam I built some time ago?
bjam -v
Boost.Jam Version 2011.4. OS=MACOSX.
    Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
    Copyright 2001 David Turner.
    Copyright 2001-2004 David Abrahams.
    Copyright 2002-2008 Rene Rivera.
    Copyright 2003-2008 Vladimir Prus.

../../../bjam toolset=darwin-4.7.0 -q -d2
...patience...
...patience...
...found 7880 targets...
...updating 1984 targets...
darwin.compile.c++
../../../bin.v2/libs/thread/test/timed_mutex__native_handle_p.test/darwin-4.7.0/debug/threading-multi/sync/mutual_exclusion/timed_mutex/native_handle_pass.o

     "/usr/local/gcc-4-7-svn/bin/g++" -ftemplate-depth-128 -O0
-fno-inline -Wall -pedantic -g -dynamic -no-cpp-precomp -gdwarf-2
-fexceptions -fPIC -Wextra -Wno-delete-non-virtual-dtor -Wno-long-long
-ansi -fpermissive -pedantic -DBOOST_ALL_NO_LIB=1
-DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1
-DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1
-DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o
"../../../bin.v2/libs/thread/test/timed_mutex__native_handle_p.test/darwin-4.7.0/debug/threading-multi/sync/mutual_exclusion/timed_mutex/native_handle_pass.o"
"sync/mutual_exclusion/timed_mutex/native_handle_pass.cpp"

g++: error: unrecognized command line option ‘-no-cpp-precomp’
...failed darwin.compile.c++
../../../bin.v2/libs/thread/test/timed_mutex__native_handle_p.test/darwin-4.7.0/debug/threading-multi/sync/mutual_exclusion/timed_mutex/native_handle_pass.o...
...failed updating 1 target...


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk