Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84192 - trunk/libs/log/src
From: andrey.semashev_at_[hidden]
Date: 2013-05-08 14:57:18


Author: andysem
Date: 2013-05-08 14:57:17 EDT (Wed, 08 May 2013)
New Revision: 84192
URL: http://svn.boost.org/trac/boost/changeset/84192

Log:
Fixed compilation with compilers not supporting AVX2.
Text files modified:
   trunk/libs/log/src/dump.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/log/src/dump.cpp
==============================================================================
--- trunk/libs/log/src/dump.cpp (original)
+++ trunk/libs/log/src/dump.cpp 2013-05-08 14:57:17 EDT (Wed, 08 May 2013)
@@ -234,6 +234,7 @@
 #endif
     }
 
+#if defined(BOOST_LOG_USE_AVX2)
     static void enable_avx2()
     {
         dump_data_char = &dump_data_char_avx2;
@@ -245,6 +246,7 @@
         dump_data_char32 = &dump_data_char32_avx2;
 #endif
     }
+#endif // defined(BOOST_LOG_USE_AVX2)
 };
 
 static function_pointer_initializer g_function_pointer_initializer;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk