$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-16 06:31:50
On Thursday 16 February 2006 14:04, John Maddock wrote:
> > Does anybody have an idea what that message is telling and how to
> > avoid it? I
> > can't find anything special in V1 Jamfile.
>
> It needs to link to user32.dll, however the source file has:
>
> #if defined(_WIN32) && defined(BOOST_REGEX_USE_WIN32_LOCALE)
> #pragma message(lib, "user32.lib")
> #endif
Is "message" in the above pragma a typo, or I'm completely missing something?
Won't that just emit a message? I've tried to look in Google for such usage
and found only instances in Boost.Regex.
> Which should be sufficient, in fact the library also has:
>
> #ifdef _MSC_VER
> #pragma comment(lib, "user32.lib")
> #endif
Hmm, this should work indeed.
> In w32_regex_traits.cpp so it should be doubly taken care of, are you doing
> anything on the command line to suppress these linker directives?
No, at least not intentionally. Any options I should specifically watch for?
- Volodya