Abdelrazak Younes wrote:
Then compile one file by hand and add /showIncludes ("Displays a list of all include files during compilation" ) and search for the config.h, maybe on your setup has a other config.h in the compiler search path.I have searched for one but didn't find any.
I was looking for the wrong file! Watching an Msvc compilation I noticed this:
D:\devel\lyx\trunk\src\config.h(343) : warning C4005: 'BOOST_USER_CONFIG' : macro redefinition D:\devel\lyx\trunk\boost\boost/config.hpp(22) : see previous definition of 'BOOST_USER_CONFIG' cl /TP /EHsc /wd4819 /wd4996 /nologo /O2 -DHAVE_CONFIG_H -DQT_CLEAN_NAMESPACE -D
So I guess there is a conflict between config.h and the boost config.hpp (attached).
Abdel.
// Boost config.hpp configuration header file ------------------------------// // (C) Copyright John Maddock 2002. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/config for most recent version. // Boost config.hpp policy and rationale documentation has been moved to // http://www.boost.org/libs/config // // CAUTION: This file is intended to be completely stable - // DO NOT MODIFY THIS FILE! // #ifndef BOOST_CONFIG_HPP #define 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 // if we don't have a compiler config set, try and find one: #if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG) # include <boost/config/select_compiler_config.hpp> #endif // if we have a compiler config, include it now: #ifdef BOOST_COMPILER_CONFIG # include BOOST_COMPILER_CONFIG #endif // if we don't have a std library config set, try and find one: #if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) # include <boost/config/select_stdlib_config.hpp> #endif // if we have a std library config, include it now: #ifdef BOOST_STDLIB_CONFIG # include BOOST_STDLIB_CONFIG #endif // if we don't have a platform config set, try and find one: #if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG) # include <boost/config/select_platform_config.hpp> #endif // if we have a platform config, include it now: #ifdef BOOST_PLATFORM_CONFIG # include BOOST_PLATFORM_CONFIG #endif // get config suffix code: #include <boost/config/suffix.hpp> #endif // BOOST_CONFIG_HPP
