Skip to content
Snippets Groups Projects
Commit cb051404 authored by Soeren Peters's avatar Soeren Peters
Browse files

Changed AppleClang no warning flag from no-reorder-ctor to no-reorder. Disable...

Changed AppleClang no warning flag from no-reorder-ctor to no-reorder. Disable unroll-all-loops for GNU when IWYU is enabled. Fixed Cycle in include-mapping.
parent 5f2b7f11
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,4 @@ list(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-Wall")
list(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-Wunreachable-code")
list(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-Wno-unused-function")
list(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-Wno-reorder-ctor")
list(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-Wno-reorder")
......@@ -11,8 +11,10 @@ list(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS_RELEASE "-O3") # optimizat
# all
list(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-fPIC") # position independent code for shared libraries
LIST(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-funroll-all-loops")
if(NOT BUILD_VF_INCLUDE_WHAT_YOU_USE) # optimization flag '-funroll-all-loops' is not supported for IWYU
LIST(APPEND CAB_COMPILER_ADDTIONAL_CXX_COMPILER_FLAGS "-funroll-all-loops")
endif()
#############################################################################################################
# warnings
......
#ifndef D3Q27INTRPOLATIOPROCESSOR_H_
#define D3Q27INTRPOLATIOPROCESSOR_H_
#ifndef INTERPOLATIONPROCESSOR_H
#define INTERPOLATIONPROCESSOR_H
#include "BCArray3D.h"
#include "BoundaryConditions.h"
#include "DistributionArray3D.h"
#include "InterpolationProcessor.h"
#include "LBMSystem.h"
struct D3Q27ICell {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment