Skip to content
Snippets Groups Projects
Commit 07e28d02 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

WRG: filter expansion-to-defined warnings

parent 435b5e65
No related branches found
No related tags found
2 merge requests!621Release 7.0 (master),!287Filtering warnings for clang7
......@@ -32,6 +32,7 @@
#pragma GCC diagnostic ignored "-Wsign-compare"
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wheader-guard"
#pragma clang diagnostic ignored "-Wexpansion-to-defined"
#endif
#endif
#include "otb_shark.h"
......
......@@ -107,7 +107,11 @@
#endif
#ifndef ECHO_QDEBUG
#define ECHO_QDEBUG ( ( !NO_QECHO && !NO_QDEBUG && defined( OTB_DEBUG ) && 1 ) || 0 )
#if !NO_QECHO && !NO_QDEBUG && defined( OTB_DEBUG )
#define ECHO_QDEBUG 1
#else
#define ECHO_QDEBUG 0
#endif
#endif
#ifndef ECHO_QWARNING
......
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