borg_public/libLSS/tools/compiler_tools.hpp

10 lines
200 B
C++
Raw Normal View History

2023-05-29 10:41:03 +02:00
#pragma once
#define DISABLE_WARN_DIV_BY_ZERO \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wdiv-by-zero\"")
#define ENABLE_WARN_DIV_BY_ZERO \
_Pragma("GCC diagnostic pop")