Boost C++ Libraries: Ticket #13449: Execution of boost_mpl_preprocess.py fails if $(boost_root) path contains the string "linux" https://svn.boost.org/trac10/ticket/13449 <p> <strong>How to reproduce:</strong> </p> <p> Build System: Ubuntu 16.04.0 LTS GCC: all </p> <p> Let's say that we have the boost sources in <code>/tmp/boost-linux/boost_1_X_X</code> </p> <p> The important thing is to have the string <code>linux</code> in the <code>boost-root</code> variable. </p> <p> <strong>Error log:</strong> </p> <pre class="wiki">python boost_mpl_preprocess.py In file included from /tmp/boost-linux/boost_1_63_0/libs/mpl/preprocessed/vector/vector40.cpp:15:0: /tmp/boost-linux/boost_1_63_0/boost/config.hpp:30:29: fatal error: /tmp/boost-1/boost_1_63_0/libs/mpl/preprocessed/include/plain/user.hpp: No such file or directory compilation terminated. In file included from /tmp/boost-linux/boost_1_63_0/libs/mpl/preprocessed/vector/vector70.cpp:15:0: /tmp/boost-linux/boost_1_63_0/boost/config.hpp:30:29: fatal error: /tmp/boost-1/boost_1_63_0/libs/mpl/preprocessed/include/plain/user.hpp: No such file or directory compilation terminated. In file included from /tmp/boost-linux/boost_1_63_0/libs/mpl/preprocessed/vector/vector30.cpp:15:0: /tmp/boost-linux/boost_1_63_0/boost/config.hpp:30:29: fatal error: /tmp/boost-1/boost_1_63_0/libs/mpl/preprocessed/include/plain/user.hpp: No such file or directory compilation terminated. </pre><p> <strong>Problem:</strong> This appears because in <code>preprocess.cmd</code> gcc is invoked with include files included with angle brackets, so if we have the string <code>linux</code> it will be evaluated to <code>1</code> because it is a macro </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13449 Trac 1.4.3 Mihai Pop <mihaipop11@…> Thu, 15 Feb 2018 09:27:31 GMT <link>https://svn.boost.org/trac10/ticket/13449#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13449#comment:1</guid> <description> <p> linux is a macro defined to 1. In &lt;&gt; case the macro is expanded while in "" case, the token is a string. </p> </description> <category>Ticket</category> </item> </channel> </rss>