borg_public/libLSS/tools/compiler_tools.hpp
2023-05-29 10:41:03 +02:00

10 lines
200 B
C++

#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")