$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-12-05 09:37:02
On Wednesday 04 December 2002 03:27 pm, David Abrahams wrote:
> 1. Should we do something to make this easier for them?
Yeah, let's add a macro BOOST_HOLY_GRAIL to skip all workarounds :)
> 2. What about all the places we make compiler-specific checks in
> Boost code? Could we define some macros which make it easier
> and less error-prone to write these, and which can be globally
> turned off when needed?
>
> # if BOOST_COMPILER_WORKAROUND(__SUNPRO_CC, <= 0x540)
> ...
> #else
> ...
> #endif
>
> Thoughts?
I like BOOST_COMPILER_WORKAROUND. We should use it and ban explicit references
to compiler/platform/library version macros outside of the config library
that don't use it.
Doug