PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
OldStyleCast.h
1#ifndef PBAT_WARNING_OLDSTYLECAST_H
2#define PBAT_WARNING_OLDSTYLECAST_H
3
4#if defined(__clang__)
5 #pragma clang diagnostic ignored "-Wold-style-cast"
6#elif defined(__GNUC__) || defined(__GNUG__)
7 #pragma GCC diagnostic ignored "-Wold-style-cast"
8#elif defined(_MSC_VER)
9 // Not sure what the MSVC equivalent is
10#endif
11
12#endif // PBAT_WARNING_OLDSTYLECAST_H