MeVisLab Toolbox Reference
PCLThirdPartyWarningsDisable.h
Go to the documentation of this file.
1
// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2
// **InsertLicense** code author="Wolf Spindler"
3
//----------------------------------------------------------------------------------
5
11
//----------------------------------------------------------------------------------
12
13
#include <FMEThirdPartyWarningsDisable.h>
14
15
#ifdef _MSC_VER
16
17
#pragma warning( push )
18
19
//# 'operator' : signed/unsigned mismatch
20
#pragma warning( disable : 4389 )
21
22
//# 'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
23
#pragma warning( disable : 4334 )
24
25
#elif defined(__GNUC__)
26
// pragma GCC diagnostic push is not available on the old Mac gcc.
27
// Thus we can only use this mechanism on linux, or if we use clang.
28
#if !defined(MACOS) || defined(__clang__)
29
// Disable explicitly since e.g. with BullsEyeCoverage includes from FLANN
30
// cause warning problems otherwise; include via systeminclude does not work.
31
#pragma GCC diagnostic ignored "-Wswitch-default"
32
// clang posts a discussed uninitialized variable usage in qt headers, for example
33
// .../MeVis/ThirdParty/Sources/Qt4/qt/include/QtCore/qsharedpointer_impl.h:595
34
// field 'd' is uninitialized when used here
35
36
#if defined(MLAB_CMAKE_BUILDSYSTEM)
37
// Suppress on newer c++ and in cmake builds to prevent compile errors;
38
// TOD: these warnings/errors should be fixed on newer versions.
39
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
40
#endif
41
42
#pragma GCC diagnostic push
43
//#if defined(__clang__)
44
// #pragma GCC diagnostic ignored "-Wuninitialized"
45
//#endif
46
#endif
47
48
#endif
49
FMEstable
PCL
Projects
MLPCLSupport
Sources
PCLThirdPartyWarningsDisable.h
Generated by
1.10.0