Boost C++ Libraries: Ticket #2767: #pragma warning pop is missing in boost/function/function_base.hpp https://svn.boost.org/trac10/ticket/2767 <p> boost/function/function_base.hpp contains #pragma warning push directive but does not contain the corresponding #pragma warning pop. </p> <p> As a result, global warnings state is changed and thus warnings in user code may not be reported correctly. </p> <p> #pragma warnings push/pop are Visual C++ specific pragmas that maintain a stack of warnings state. Having push and no pop means stack nesting is broken. </p> <p> Fix is trivial (patchfile is attached). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2767 Trac 1.4.3 Denis Gurchenkov <dgurchenkov@…> Tue, 17 Feb 2009 15:30:48 GMT attachment set https://svn.boost.org/trac10/ticket/2767 https://svn.boost.org/trac10/ticket/2767 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patchfile.patch</span> </li> </ul> <p> suggested fix (diff format) </p> Ticket Daniel James Sat, 06 Jun 2009 15:31:49 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2767#comment:1 https://svn.boost.org/trac10/ticket/2767#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53694" title="Add missing #pragma warning(pop). Fixes #2767.">[53694]</a>) Add missing #pragma warning(pop). Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2767" title="#2767: Bugs: #pragma warning pop is missing in boost/function/function_base.hpp (closed: fixed)">#2767</a>. </p> Ticket Daniel James Sat, 27 Jun 2009 10:46:21 GMT <link>https://svn.boost.org/trac10/ticket/2767#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2767#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/54410" title="Add missing #pragma warning(pop) in Boost.Function. Merged revisions ...">[54410]</a>) Add missing #pragma warning(pop) in Boost.Function. </p> <p> Merged revisions 53694 via svnmerge from <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk</a> </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/53694" title="Add missing #pragma warning(pop). Fixes #2767.">r53694</a> | danieljames | 2009-06-06 16:31:47 +0100 (Sat, 06 Jun 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Add missing #pragma warning(pop). Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2767" title="#2767: Bugs: #pragma warning pop is missing in boost/function/function_base.hpp (closed: fixed)">#2767</a>. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> </channel> </rss>