Modify

Ticket #8368 (closed Patches: fixed)

Opened 2 years ago

Last modified 2 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:

Description

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).

Attachments

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

Change History

Changed 2 years ago by mstahl@…

fix -Wundef in multi_array/base.hpp

comment:1 Changed 2 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.

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.