Boost way of disabling compiler warnings?

6 Sep
2007
6 Sep
'07
6:26 p.m.
Hi there, I just questioned myself if boost is providing some general way of disabling warning for specific compilers. Something like: BOOST_DISABLE_WARNING( MSVC71, 4675 ); BOOST_DISABLE_WARNING( GCC34, 1234 ); I think that would be cool to have. Regards, Christian

7 Sep
7 Sep
7:48 a.m.
Christian Henning wrote:
Hi there, I just questioned myself if boost is providing some general way of disabling warning for specific compilers. Something like:
BOOST_DISABLE_WARNING( MSVC71, 4675 ); BOOST_DISABLE_WARNING( GCC34, 1234 );
I think that would be cool to have.
Very cool indeed, but I don't think a macro can expand to a #pragma? John.
6378
Age (days ago)
6379
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christian Henning
-
John Maddock