Boost C++ Libraries: Ticket #8368: GCC -Wundef warning about BOOST_MULTI_ARRAY_NO_GENERATORS in multi_array https://svn.boost.org/trac10/ticket/8368 <p> the <a class="missing wiki">LibreOffice</a> project has recently added -Wundef to its flags and GCC 4.7 produces a warning about "if !BOOST_MULTI_ARRAY_NO_GENERATORS" in boost/multi_array/base.hpp. </p> <p> apaprently trunk still contains that line. </p> <p> i'll attach a fix (which is of course contributed under boost project's standard license). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8368 Trac 1.4.3 mstahl@… Tue, 02 Apr 2013 14:34:11 GMT attachment set https://svn.boost.org/trac10/ticket/8368 https://svn.boost.org/trac10/ticket/8368 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost.wundef.patch.1</span> </li> </ul> <p> fix -Wundef in multi_array/base.hpp </p> Ticket Ronald Garcia Wed, 03 Apr 2013 23:21:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8368#comment:1 https://svn.boost.org/trac10/ticket/8368#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/83761" title="fixes #8368 Changed a macro to use ifndef rather than if to avoid ...">[83761]</a>) fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8368" title="#8368: Patches: GCC -Wundef warning about BOOST_MULTI_ARRAY_NO_GENERATORS in multi_array (closed: fixed)">#8368</a> </p> <p> Changed a macro to use ifndef rather than if to avoid warnings. </p> Ticket