|
Subject: Re: Lots of warnings Newsgroups: gmane.comp.lib.boost.devel Date: 2007-12-04 16:10:23 GMT (1 year, 30 weeks, 2 days, 9 hours and 9 minutes ago) on Fri Nov 30 2007, "Paul A Bristow" <pbristow-AT-hetp.u-net.com> wrote: > I've seen similar and supressed with a bracket of > > #if defined (BOOST_MSVC) > # pragma warning(push) > # pragma warning(disable: 4512) // "assignment operator could not be generated." > # pragma warning(disable: 4127) // "conditional expression is constant." > # pragma warning(disable: 4100) // "'boost_parameter_enabler_argument' : unreferenced formal parameter" > #endif > > your includes > > your code.... > > > #if defined (BOOST_MSVC) > # pragma warning(pop) > #endif > > > But it really would be nice if *All* Boost code could have warnings > suppressed properly. The situation is imporoving, but we have some > way to go. I think we need to have standard boost-wide prefix and suffix headers for that purpose, or the code will quickly become unmaintainable. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost |
|
|