
17 Aug
2005
17 Aug
'05
12:12 p.m.
On 8/17/05, Vadim Zeitlin <vz-boost@zeitlins.org> wrote:
#ifdef _MSC_VER #pragma warning(disable:4512) #endif
before and
#ifdef _MSC_VER #pragma warning(default:4512) #endif
I think using #pragma warning (push) and #pragma warning (pop) to guard the #pragma warning (disable) is preferable. This is for case where the user of the header has disabled this warning in their own code and doesn't want the default behavior restored. -- Caleb Epstein caleb dot epstein at gmail dot com