hibiscus/core/pragmautil.hpp

10 lines
219 B
C++
Raw Normal View History

2023-05-26 21:41:51 +00:00
#pragma once
// TODO: pragma
#define PRAGMA(x) _Pragma(#x)
2023-05-30 16:00:39 +00:00
#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)