MeshLib Documentation
Loading...
Searching...
No Matches
MRPybind11.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRPch/MRSuppressWarning.h>
4
5MR_SUPPRESS_WARNING_PUSH
6#if defined( __clang__ )
7#pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
8#endif
9#if defined( _MSC_VER )
10#pragma warning( disable: 4100 ) // '_unused_op': unreferenced formal parameter
11#pragma warning( disable: 4189 ) // 'has_args': local variable is initialized but not referenced
12#pragma warning( disable: 4191 ) // 'reinterpret_cast': unsafe conversion from 'PyObject *(__cdecl *)(PyObject *,PyObject *,PyObject *)' to 'void (__cdecl *)(void)'
13#pragma warning( disable: 4355 ) // 'this': used in base member initializer list
14#pragma warning( disable: 4464 ) // relative include path contains '..'
15#endif
16
17#include <pybind11/pybind11.h>
18#include <pybind11/operators.h>
19#include <pybind11/stl_bind.h>
20#include <pybind11/numpy.h>
21
22MR_SUPPRESS_WARNING_POP