Boost logo

Boost :

From: Simon Atanasyan (atanasyan_at_[hidden])
Date: 2007-10-23 03:05:41

Sun C++ cannot compile execution_monitor.cpp on Solaris (Linux is ok).

% CC -library=stlport4 -fast -KPIC -DBOOST_ALL_NO_LIB=1
"./boost/test/impl/execution_monitor.ipp", line 177: Error: va_list is
not defined.
"./boost/test/impl/execution_monitor.ipp", line 178: Error: Cannot
assign void* to int.
"./boost/test/impl/execution_monitor.ipp", line 180: Error: The
function "vsnprintf" must have a prototype.
3 Error(s) detected.

There are two problems:
1. va_list is in the std namespace and do not introduced into the
global namespace by default.
2. On Solaris vsnprintf is declared in the stdio.h only.

Patch fixes that bug is attached to this mail.

Simon Atanasyan

Boost list run by bdawes at, gregod at, cpdaniel at, john at