Last active
August 29, 2015 14:19
-
-
Save slowriot/2e9073f969ffc7b46f55 to your computer and use it in GitHub Desktop.
Fix for boost including some unnecessary things that mess up dependency scanners (such as that in Code::Blocks)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur ../boosttemp/boost/config/select_compiler_config.hpp ./boost/config/select_compiler_config.hpp | |
--- ../boosttemp/boost/config/select_compiler_config.hpp 2015-04-24 15:40:08.067165641 +0000 | |
+++ ./boost/config/select_compiler_config.hpp 2015-04-24 15:43:42.963163592 +0000 | |
@@ -113,32 +113,3 @@ | |
# error "Unknown compiler - please configure (http://www.boost.org/libs/config/config.htm#configuring) and report the results to the main boost mailing list (http://www.boost.org/more/mailing_lists.htm#main)" | |
#endif | |
- | |
-#if 0 | |
-// | |
-// This section allows dependency scanners to find all the headers we *might* include: | |
-// | |
-#include "boost/config/compiler/gcc_xml.hpp" | |
-#include "boost/config/compiler/cray.hpp" | |
-#include "boost/config/compiler/comeau.hpp" | |
-#include "boost/config/compiler/pathscale.hpp" | |
-#include "boost/config/compiler/intel.hpp" | |
-#include "boost/config/compiler/clang.hpp" | |
-#include "boost/config/compiler/digitalmars.hpp" | |
-#include "boost/config/compiler/gcc.hpp" | |
-#include "boost/config/compiler/kai.hpp" | |
-#include "boost/config/compiler/sgi_mipspro.hpp" | |
-#include "boost/config/compiler/compaq_cxx.hpp" | |
-#include "boost/config/compiler/greenhills.hpp" | |
-#include "boost/config/compiler/codegear.hpp" | |
-#include "boost/config/compiler/borland.hpp" | |
-#include "boost/config/compiler/metrowerks.hpp" | |
-#include "boost/config/compiler/sunpro_cc.hpp" | |
-#include "boost/config/compiler/hp_acc.hpp" | |
-#include "boost/config/compiler/mpw.hpp" | |
-#include "boost/config/compiler/vacpp.hpp" | |
-#include "boost/config/compiler/pgi.hpp" | |
-#include "boost/config/compiler/visualc.hpp" | |
- | |
-#endif | |
- | |
diff -Naur ../boosttemp/boost/config/select_platform_config.hpp ./boost/config/select_platform_config.hpp | |
--- ../boosttemp/boost/config/select_platform_config.hpp 2015-04-24 15:40:08.067165641 +0000 | |
+++ ./boost/config/select_platform_config.hpp 2015-04-24 15:44:00.791163422 +0000 | |
@@ -104,30 +104,3 @@ | |
# endif | |
#endif | |
- | |
-#if 0 | |
-// | |
-// This section allows dependency scanners to find all the files we *might* include: | |
-// | |
-# include "boost/config/platform/linux.hpp" | |
-# include "boost/config/platform/bsd.hpp" | |
-# include "boost/config/platform/solaris.hpp" | |
-# include "boost/config/platform/irix.hpp" | |
-# include "boost/config/platform/hpux.hpp" | |
-# include "boost/config/platform/cygwin.hpp" | |
-# include "boost/config/platform/win32.hpp" | |
-# include "boost/config/platform/beos.hpp" | |
-# include "boost/config/platform/macos.hpp" | |
-# include "boost/config/platform/aix.hpp" | |
-# include "boost/config/platform/amigaos.hpp" | |
-# include "boost/config/platform/qnxnto.hpp" | |
-# include "boost/config/platform/vxworks.hpp" | |
-# include "boost/config/platform/symbian.hpp" | |
-# include "boost/config/platform/cray.hpp" | |
-# include "boost/config/platform/vms.hpp" | |
-# include <boost/config/posix_features.hpp> | |
- | |
- | |
- | |
-#endif | |
- | |
diff -Naur ../boosttemp/boost/config/select_stdlib_config.hpp ./boost/config/select_stdlib_config.hpp | |
--- ../boosttemp/boost/config/select_stdlib_config.hpp 2015-04-24 15:40:08.067165641 +0000 | |
+++ ./boost/config/select_stdlib_config.hpp 2015-04-24 15:44:16.855163269 +0000 | |
@@ -86,20 +86,3 @@ | |
#endif | |
#endif | |
- | |
-#if 0 | |
-// | |
-// This section allows dependency scanners to find all the files we *might* include: | |
-// | |
-# include "boost/config/stdlib/stlport.hpp" | |
-# include "boost/config/stdlib/libcomo.hpp" | |
-# include "boost/config/stdlib/roguewave.hpp" | |
-# include "boost/config/stdlib/libcpp.hpp" | |
-# include "boost/config/stdlib/libstdcpp3.hpp" | |
-# include "boost/config/stdlib/sgi.hpp" | |
-# include "boost/config/stdlib/msl.hpp" | |
-# include "boost/config/stdlib/vacpp.hpp" | |
-# include "boost/config/stdlib/modena.hpp" | |
-# include "boost/config/stdlib/dinkumware.hpp" | |
-#endif | |
- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment