Skip to content
Snippets Groups Projects
Commit 4723ced1 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Add INGORE_UNUSED_FUNCTION and POP_DIAGNOSTIC macros

parent da615b70
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,13 @@
#define ABORT(x) do { std::stringstream sst; sst << x; logI(sst.str()); abort(); } while (false)
#define IGNORE_UNUSED_FUNCTION \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wunused-function\"")
#define POP_DIAGNOSTIC \
_Pragma("GCC diagnostic pop")
enum class LogSubsystem {
PS,
F,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment