|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-12-04 15:27:54
Hi,
I'm trying to come up with instructions for compiler vendors who want
to use Boost to test their compilers. What preprocessor symbols do
they need to define? So far, it looks like:
- BOOST_NO_COMPILER_CONFIG
- BOOST_NO_STDLIB_CONFIG - if they want to check the library
- BOOST_STRICT_CONFIG - to disable some checks in source code
- macros for any known-not-implemented features,
e.g. BOOST_NO_TEMPLATE_TEMPLATES.
Right?
Questions:
1. Should we do something to make this easier for them?
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?
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk