Ticket #8368 (closed Patches: fixed)

Opened 4 years ago

Last modified 4 years ago

GCC -Wundef warning about BOOST_MULTI_ARRAY_NO_GENERATORS in multi_array

Reported by: mstahl@… Owned by: garcia
Milestone: To Be Determined Component: multi_array
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:


the LibreOffice? 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.

apaprently trunk still contains that line.

i'll attach a fix (which is of course contributed under boost project's standard license).


boost.wundef.patch.1 (507 bytes) - added by mstahl@… 4 years ago.
fix -Wundef in multi_array/base.hpp

Change History

Changed 4 years ago by mstahl@…

fix -Wundef in multi_array/base.hpp

comment:1 Changed 4 years ago by garcia

  • Status changed from new to closed
  • Resolution set to fixed

(In [83761]) fixes #8368

Changed a macro to use ifndef rather than if to avoid warnings.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.