Ticket #9887: 0003-multi_array-fix-GCC-Wundef-warning.patch

File 0003-multi_array-fix-GCC-Wundef-warning.patch, 996 bytes (added by mstahl@…, 9 years ago)
  • include/boost/multi_array/base.hpp

    From 190d7115723a4a9a3c2c57852e5f828ac13933f3 Mon Sep 17 00:00:00 2001
    From: Tor Lillqvist <tml@iki.fi>
    Date: Mon, 14 Apr 2014 11:44:35 +0200
    Subject: [PATCH 3/4] multi_array: fix GCC -Wundef warning
    
    Signed-off-by: Michael Stahl <mstahl@redhat.com>
    ---
     include/boost/multi_array/base.hpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/include/boost/multi_array/base.hpp b/include/boost/multi_array/base.hpp
    index 0189831..a78e411 100644
    a b namespace multi_array_types {  
    6565// object creation in small-memory environments.  Thus, the objects
    6666// can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS
    6767// before loading multi_array.hpp.
    68 #if !BOOST_MULTI_ARRAY_NO_GENERATORS
     68#if !defined(BOOST_MULTI_ARRAY_NO_GENERATORS) || !BOOST_MULTI_ARRAY_NO_GENERATORS
    6969namespace {
    7070  multi_array_types::extent_gen extents;
    7171  multi_array_types::index_gen indices;