hibiscus/core/pragmautil.hpp
2023-05-30 17:00:39 +01:00

10 lines
219 B
C++

#pragma once
// TODO: pragma
#define PRAGMA(x) _Pragma(#x)
#define MESSAGE(x) PRAGMA(message x)
#define TODO(x) PRAGMA(message "TODO: " x)
#define WARNING(x) PRAGMA(GCC warning x)
#define ERROR(x) PRAGMA(GCC error x)