Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-03-29 04:46:16


Gennadiy Rozental wrote:
>
> Did you see:
>
> http://lists.boost.org/MailArchives/boost/msg80817.php
>

ok - I'm very sorry for the confusion, I obviously forgot about this thread!

As an excuse [:-)], I've investigated the situation.

See execution_monitor.ipp:

#define BOOST_MS_STRCTURED_EXCEPTION_HANDLING
#if !defined(_WIN32_WINNT)
#define _WIN32_WINNT 0x0400
#endif

#include <wtypes.h>
#include <winbase.h>

The problem is that winbase.h is already included before by the <locale>
header _without_ the definition for _WIN32_WINNT. That's why
IsDebuggerPresent() is finally missing!

The only solution I can imagine to solve this is to set _WIN32_WINNT
globally in CW's bjam settings.

Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk