Vector BLF

Loading...
Searching...
No Matches
platform.h
1// SPDX-FileCopyrightText: 2013-2021 Tobias Lorenz <tobias.lorenz@gmx.net>
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
8
9#pragma once
10
11#include <Vector/BLF/config.h>
12
13/* GCC */
14#ifdef __GNUC__
15
16#pragma GCC diagnostic warning "-Wall"
17#pragma GCC diagnostic warning "-Wextra"
18
19#endif
20
21/* Visual Studio */
22#ifdef _MSC_VER
23
24/* '...': conversion from '...' to '...', possible loss of data */
25#pragma warning (disable: 4244)
26
27/* '...' : class '...' needs to have dll-interface to be used by clients of class '..' */
28#pragma warning (disable: 4251)
29
30/* non dll-interface class '...' used as base for dll-interface class */
31#pragma warning (disable: 4275)
32
33/* elements of array '...' will be default initialized */
34#pragma warning (disable: 4351)
35
36/* nonstandard extension used: enum '...' used in qualified name */
37#pragma warning (disable: 4482)
38
39#endif