Subject: [Boost-bugs] [Boost C++ Libraries] #1825: thread.hpp injects windows.h and breaks user application.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-14 15:15:52
#1825: thread.hpp injects windows.h and breaks user application.
-------------------------------------+--------------------------------------
Reporter: pawels_at_[hidden] | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.35.0 | Severity: Regression
Keywords: |
-------------------------------------+--------------------------------------
reduced testcase:
{{{
#include <boost/thread/thread.hpp>
int const ERROR = 1;
}}}
works fine with boost-1.34.1 and doesn't compile with 1.35.0.
{{{
Compiling...
example.cpp
example.cpp(2) : warning C4091: '' : ignored on left of 'const int' when
no variable is declared
example.cpp(2) : error C2143: syntax error : missing ';' before 'constant'
example.cpp(2) : error C2059: syntax error : 'constant'
}}}
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1825>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC