On Wed, Jan 1, 2014 at 4:08 PM, Sergey Cheban <s.cheban@drweb.com> wrote:
30.12.2013 13:26, Sergey Cheban пишет:


I've tried to put run.py into the new directory and run it with the following
options:
C:\Python27\python.exe run.py --runner=DrWeb_vc12_x64 --toolsets=msvc-12.0
--force-update --bjam-options="--abbreviate-paths -j 16 address-model=64"
--tag=trunk >C:\Users\BoostTest\BoostTest_Trunk_vc12_X64.log 2>&1

It has failed with the following diagnostics:

error_code.cpp
..\..\..\boost/config.hpp(26) : fatal error C1083: Cannot open include file:
'boost/config/user.hpp': No such file or directory
...failed compile-c-c++
..\..\..\bin.v2\libs\system\build\msvc-9.0\release\link-static\error_code.obj...

The complete log is available at
ftp://people.drweb.com/people/s.cheban/Boost/BoostTest_Trunk_vc12_X64.log

I've tried to look at this problem. It seems that bjam fails to detect a dependency between error_code.cpp and boost/config/user.hpp because boost/config/user.hpp is included in the following way:

=== boost/config.hpp ===
// if we don't have a user config, then use the default location:
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
#  define BOOST_USER_CONFIG <boost/config/user.hpp>
#endif
// include it first:
#ifdef BOOST_USER_CONFIG
#  include BOOST_USER_CONFIG
#endif
========================

For a long time.. I've suggested that such cases should also have the following in the code so that code parsers like BBv2 can interpret such things without being full CPP programs:

===
/* For build dependency..
#include <boost/config/user.hpp>
*/
===

--
--
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo