Boost C++ Libraries: Ticket #4821: MinGW64 needs configuration settings https://svn.boost.org/trac10/ticket/4821 <p> The trunk test for the new Win7-x64 test (using mingw64) fails tests because BOOST_WINDOWS seems undefined. </p> <p> Here's the result for running config's ./configure.sh script with --enable-test: </p> <hr /> <p> the following macros need to be defined </p> <blockquote> <p> BOOST_HAS_VARIADIC_TMPL BOOST_HAS_LOG1P BOOST_HAS_GETTIMEOFDAY BOOST_HAS_EXPM1 </p> </blockquote> <p> the following macros need to be undef'ed </p> <blockquote> <p> BOOST_NO_VARIADIC_TEMPLATES BOOST_NO_SCOPED_ENUMS BOOST_NO_MS_INT64_NUMERIC_LIMITS BOOST_NO_DELETED_FUNCTIONS BOOST_NO_DEFAULTED_FUNCTIONS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST </p> </blockquote> <hr /> <p> I'm also attaching all the compiler defines, FYI. </p> <pre class="wiki">g++ -dM -E - &lt;&lt;&lt;'' </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4821 Trac 1.4.3 Jim Bell <jim@…> Mon, 08 Nov 2010 04:23:12 GMT attachment set https://svn.boost.org/trac10/ticket/4821 https://svn.boost.org/trac10/ticket/4821 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">gcc-win7-x64-defines.txt</span> </li> </ul> Ticket Jim Bell <jim@…> Mon, 08 Nov 2010 04:24:38 GMT summary changed https://svn.boost.org/trac10/ticket/4821#comment:1 https://svn.boost.org/trac10/ticket/4821#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">Mingw64 needs configuration settings</span> → <span class="trac-field-new">MinGW64 needs configuration settings</span> </li> </ul> Ticket anonymous Mon, 08 Nov 2010 16:01:18 GMT <link>https://svn.boost.org/trac10/ticket/4821#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4821#comment:2</guid> <description> <p> I'm having a hard time working out what needs changing as <a class="ext-link" href="http://tinyurl.com/3xmahna"><span class="icon">​</span>http://tinyurl.com/3xmahna</a> indicates that a custom config/user.hpp file is in effect, so I can't tell which config files it should be including. Can you please let me have the output from the config_info program run with the default do-nothing config/user.hpp? </p> <p> Thanks, John Maddock </p> </description> <category>Ticket</category> </item> <item> <author>Jim Bell <jim@…></author> <pubDate>Tue, 09 Nov 2010 17:08:19 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/4821 https://svn.boost.org/trac10/ticket/4821 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">config_info-gcc-win7-x64.output</span> </li> </ul> Ticket Jim Bell <jim@…> Tue, 09 Nov 2010 17:09:24 GMT <link>https://svn.boost.org/trac10/ticket/4821#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4821#comment:3</guid> <description> <p> Attached: the config_info.output file with user.hpp reverted to the default trunk revision. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 11 Nov 2010 16:32:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4821#comment:4 https://svn.boost.org/trac10/ticket/4821#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> Jim, can you please try running the tests with Boost's default do-nothing user.hpp - I don't see anything in current Trunk that would cause BOOST_WINDOWS not to be defined - it's set in win32.hpp unless BOOST_DISABLE_WIN32 is set - which it isn't according to your config_info output (I'll update config_info to output BOOST_WINDOWS as well). I'm guessing that your use of a custom user.hpp may be at fault as that won't ever set that macro unless you put it there yourself. </p> <p> Of the remaining macros - BOOST_HAS_LOG1P/BOOST_HAS_EXPM1/BOOST_HAS_GETTIMEOFDAY I've recently set for mingw. </p> <p> The remaining ones relate to C++0x features - although gcc does compile our test code in non-C++0x mode, it emits copious warnings about -std=C++0x being required for that feature, so for now they're disabled unless you compile with -std=C++0x. </p> <p> I'm closing for now, please reopen if the current default user.hpp doesn't solve things. </p> Ticket