$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2002-12-03 20:55:02
I'd like a macro to detect that a compiler requires a return value
even when no paths return from a function. Example:
int f()
{
throw "hello";
};
If this fails to compile, we may need to add a dummy "return 0;" at
the end. I know of two compilers which act this way: Metrowerks and
HP.
-Dave
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution