Boost C++ Libraries: Ticket #13352: 1.66 i686-w64-mingw32-g++-win32 https://svn.boost.org/trac10/ticket/13352 <p> i'm using boost 1.65.1 for a project in which the new beast framework v124 is used as an internal webserver. building using gcc on linux and gcc-mingw targeting win32 works in this setup. </p> <p> today, i've tried upgrade to boost 1.66, skipping the need for the external beast v124 source. still, gcc+linux build works, but my gcc-mingw build fails with alot of errors about the use of futures in asio. </p> <p> attached is a stripped output of the errors. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13352 Trac 1.4.3 Martin Kjær Jørgensen <mkj@…> Tue, 19 Dec 2017 15:19:26 GMT attachment set https://svn.boost.org/trac10/ticket/13352 https://svn.boost.org/trac10/ticket/13352 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-error.txt</span> </li> </ul> <p> compiler error output </p> Ticket Christopher Chadwick <cchadwick@…> Tue, 19 Dec 2017 21:28:07 GMT <link>https://svn.boost.org/trac10/ticket/13352#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13352#comment:1</guid> <description> <p> I can concur the same observation when compiling with MinGW's g++7.2.0. Not ruling out operator error here, but I've been poking around for a couple of days not and haven't been able to resolve the issue. </p> </description> <category>Ticket</category> </item> <item> <author>john@…</author> <pubDate>Tue, 13 Feb 2018 21:02:59 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13352#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13352#comment:2</guid> <description> <p> Me too, when cross-compiling 'dcpomatic'. Almost identical output to above. Lots of mentions of std::promise. </p> </description> <category>Ticket</category> </item> <item> <author>Christopher Chadwick <cchadwick@…></author> <pubDate>Tue, 13 Feb 2018 21:18:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13352#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13352#comment:3</guid> <description> <p> My apologies for a late post to those in search of a resolution. I was able to get a proper compile. After digging more into the config header for asio (I can't recall at the moment the exact file, but no modifications were necessary), I found that if I defined BOOST_ASIO_DISABLE_STD_FUTURE in the preprocessor, things compiled. The issue I think is the usual issue with mingw on Windows not having the std::thread/future/promise support as with MSVC or a Linux variety gcc/g++. I use the boost variety of these in most circumstances. I want to say (at least hope, although I'm not sure) that doing so will set asio to use the boost varieties of these as needed. I'll defer that to Mr. Kohlhoff. </p> </description> <category>Ticket</category> </item> </channel> </rss>