|
Boost : |
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-12-02 17:03:14
Hi,
In execution_monitor.ipp, these macros protect the inclusion of
stdarg.h on the Sun.
#if defined(__SUNPRO_CC) && defined(__SunOS)
On our system:
sass8000(217 ^H)% uname -a
SunOS sass8000 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire
The macro __SUNPRO_CC is defined but __SunOS is not defined. Here's
the set of macros defined by the sun-5.7 compiler:
" -D__SunOS_5_10 -D__SUNPRO_CC=0x570 -Dunix -Dsun -Dsparc -D__sparc -
D__sparcv8plus -D__unix -D__sun -D__BUILTIN_VA_ARG_INCR -D__SVR4 -
D__SUNPRO_CC_COMPAT=5 -D__SUN_PREFETCH
I'd like to change the test in execution_monitor.ipp to permit either
macro to include the necessary headers, like this:
#if defined(__SUNPRO_CC) || defined(__SunOS)
The patch is attached, okay to commit this?
-- Noel Belcourt
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk