|
Boost Users : |
Subject: Re: [Boost-users] Boost.Asio 1.37 - can't compile with VC++ 2003 (version 1.35 is fine)
From: Richard Patek (arnost_at_[hidden])
Date: 2009-01-29 07:14:26
Amit-37 wrote:
>
> I just upgraded my Boost distribution, and have immediately run into a
> compilation problem: both Intel and VC++ compilers complain that:
> - 'QueueUserAPC' : is not a member of 'operator``global namespace'''
> - 'QueueUserAPC': identifier not found, even with argument-dependent
> lookup
>
> 1.35 compiles fine. I checked and this API is available in Winbase.h.
> Can't
> figure out why it is not being found - there don't seem to be be any C++
> version
> directives hiding it inside winbase. I am on XP, and _WIN32_WINNT is set
> to
> 0x0501, so this is not the culprit either. Pre-compiled headers are turned
> off,
> and I have defined WIN32_LEAN_AND_MEAN (to avoid winsock conflict).
>
I add _WIN32_WINNT=0x0501 (or 0x0500) in project options (Preprocessor
definitions or parameter /D ).
After that, compilation of this part was OK.
-- View this message in context: http://www.nabble.com/Boost.Asio-1.37---can%27t-compile-with-VC%2B%2B-2003-%28version-1.35-is-fine%29-tp20600980p21725803.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net