mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #22: Clang compilation fix
This commit is contained in:
@ -23,6 +23,11 @@
|
||||
#include <QApplication>
|
||||
#include <QReadWriteLock>
|
||||
|
||||
#ifdef PDF4QT_COMPILER_CLANG
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wregister"
|
||||
#endif
|
||||
|
||||
#ifdef PDF4QT_COMPILER_MSVC
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:5033)
|
||||
@ -34,6 +39,9 @@
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#ifdef PDF4QT_COMPILER_CLANG
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifndef NOMINMAX
|
||||
|
Reference in New Issue
Block a user