----- Original Message ----- 
From: "Pavel Vozenilek" <[EMAIL PROTECTED]>
To: "John Torjo" <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 10:39 PM
Subject: fix of fix


> Hello John,
> 
> The code I sent before to disable warning isn't the best.
> Here's better version (restores previous settings instead always enabling
> warnings):
> 
> -------------
> #if _MSC_VER >= 1020
> #pragma once
> #endif
> 
> #ifdef __BORLANDC__
> #pragma warn -8027  // functions not expanded inline
> #pragma warn -8026  // functions with exception spec not expanded inline
> #endif
> 
> #include "boost/smart_assert/smart_assert.hpp"
> #include "boost/smart_assert/smart_enforce.hpp"
> #include "boost/smart_assert/smart_verify.hpp"
> 
> #include "boost/smart_assert/smart_assert_settings.hpp"
> 
> #ifdef __BORLANDC__
> // restore previous settings
> #pragma warn .8027
> #pragma warn .8026
> #endif
> 
> #endif
Thanks. Updated.

> ----------------
> 
> Btw: shouldn't
> #include "boost/..."
> be rather
> #include <boost/...>

Indeed. Updated.
Best,
John


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

Reply via email to