Subject: [Boost-bugs] [Boost C++ Libraries] #1881: max() & min() macros are leaking from <windows.h> into entire project
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-29 12:27:51
#1881: max() & min() macros are leaking from <windows.h> into entire project
----------------------------+-----------------------------------------------
Reporter: Denis Nesterov | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: thread
Version: Boost 1.35.0 | Severity: Problem
Keywords: min max macros |
----------------------------+-----------------------------------------------
Macros max() & min() are leaking out of <Windows.h> through boost/thread
library, ruining every language construction with words "max" or "min".
My solution was to define NOMINMAX before including every boost header.
Problems began after upgrading boost from 1.34 to 1.35.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1881>
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