From 53451de60e32f6bc9b2a02bed9ae6bb2698b8fe4 Mon Sep 17 00:00:00 2001 From: Klaus Iglberger Date: Sun, 24 Aug 2014 07:29:56 +0200 Subject: [PATCH] Document the requirement for the '-Wno-local-typedefs' compiler flag when using 'g++-4.8' in the Blaze 'Configfile' --- Configfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Configfile b/Configfile index 1019ce61..59ddb586 100644 --- a/Configfile +++ b/Configfile @@ -48,12 +48,14 @@ CXX="g++" # compilation flags: # g++/clang: -Werror -Wall -Wextra -Wshadow -Woverloaded-virtual -ansi -O3 -DNDEBUG # icpc : -Werror -Wshadow -w1 -ansi -O3 -DNDEBUG -# In addition to these general flags, it is possible to specify additional architecture -# specific flags. In order to achieve maximum performance, it is recommended to specify -# the available architecture specific instruction set (for instance, -mavx for the GNU -# C++ compiler to active the AVX instruction set). Also, it is recommended to enable -# one of the shared memory parallelizations (OpenMP, C++11 threads, or Boost threads). -# Please consult the Blaze tutorial for the specifics. +# Please note that in case the 'g++-4.8' compiler is used the flag '-Wno-local-typedefs' +# is required to suppress warnings about unused local type definitions. In addition to +# these general flags, it is possible to specify additional architecture specific flags. +# In order to achieve maximum performance, it is recommended to specify the available +# architecture specific instruction set (for instance, -mavx for the GNU C++ compiler to +# active the AVX instruction set). Also, it is recommended to enable one of the shared +# memory parallelizations (OpenMP, C++11 threads, or Boost threads). Please consult the +# Blaze tutorial for the specifics. CXXFLAGS="-Werror -Wall -Wextra -Wshadow -Woverloaded-virtual -ansi -O3 -DNDEBUG" # Library configuration