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
9#pragma once
10
11#include <Vector/BLF/config.h>
12#include <cstdint>
13
14/* GCC */
15#ifdef __GNUC__
16
17#pragma GCC diagnostic warning "-Wall"
18#pragma GCC diagnostic warning "-Wextra"
19
20#endif
21
22/* Visual Studio */
23#ifdef _MSC_VER
24
25/* '...': conversion from '...' to '...', possible loss of data */
26#pragma warning (disable: 4244)
27
28/* '...' : class '...' needs to have dll-interface to be used by clients of class '..' */
29#pragma warning (disable: 4251)
30
31/* non dll-interface class '...' used as base for dll-interface class */
32#pragma warning (disable: 4275)
33
34/* elements of array '...' will be default initialized */
35#pragma warning (disable: 4351)
36
37/* nonstandard extension used: enum '...' used in qualified name */
38#pragma warning (disable: 4482)
39
40#endif