From: John Maddock (john_at_[hidden])
Date: 2003-10-28 10:31:16
> I have found autolink excellent, with a few tweaks.
> Some warnings would have saved me some head scratching.
> #pragma message("Auto_linked with library " BOOST_LIB_NAME ".") -
defining BOOST_LIB_DIAGNOSTIC will ouput those kinds of messages: it's not
on by default because they get pretty anoying after a while - remember every
translation unit that includes that header will produce those messages.
> #include <boost/config.hpp> // Ensure BOOST_MSVC is defined.
> # error "No BOOST_LIB_TOOLSET defined!"
> # error ("Missing BOOST_LIB item")
> // Might want to warn
> # pragma message ("Auto-link only works for MSVC and Borland!")
> #endif // _MSC_VER || __BORLANDC__
#pragma message is Microsoft/Borland specific, so there's not much point in
trying to use it to warn for other compilers :-(
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk