hibiscus/include/pragmautil.hpp

10 lines
221 B
C++
Raw Normal View History

2023-05-26 21:41:51 +00:00
#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)