Modify

Opened 4 years ago

Closed 4 years ago

#8368 closed Patches (fixed)

GCC -Wundef warning about BOOST_MULTI_ARRAY_NO_GENERATORS in multi_array

Reported by: mstahl@… Owned by: Ronald 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 (1)

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

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by mstahl@…

Attachment: boost.wundef.patch.1 added

fix -Wundef in multi_array/base.hpp

comment:1 Changed 4 years ago by Ronald Garcia

Resolution: fixed
Status: newclosed

(In [83761]) fixes #8368

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ronald Garcia.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.