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
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to