Move disabling of KDU-specific Clang warning to include_kdu_xxxx.h

master
Ansariel 2020-10-09 08:34:55 +02:00
parent ae9f77182b
commit 4a3d77033d
2 changed files with 1 additions and 6 deletions

View File

@ -21,6 +21,7 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wself-assign-field"
#pragma clang diagnostic ignored "-Wunused-private-field"
#pragma clang diagnostic ignored "-Woverloaded-virtual" //<FS:TS> Silence Clang warning the flag doesn't for some reason
#include kdu_xxxx
#pragma clang diagnostic pop
#elif LL_WINDOWS

View File

@ -27,12 +27,6 @@
#ifndef LL_LLKDUMEM_H
#define LL_LLKDUMEM_H
//<FS:TS> Silence Clang warning the flag doesn't for some reason
#if __clang__
#pragma clang diagnostic ignored "-Woverloaded-virtual"
#endif
//</FS:TS>
// Support classes for reading and writing from memory buffers in KDU
#ifndef LL_WINDOWS
#define KDU_NO_THREADS