Opened 5 years ago

Closed 5 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:


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@… 5 years ago.
fix -Wundef in multi_array/base.hpp

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by mstahl@…

Attachment: boost.wundef.patch.1 added

fix -Wundef in multi_array/base.hpp

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