aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/effects.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/effects/effects.h')
-rw-r--r--al/effects/effects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/al/effects/effects.h b/al/effects/effects.h
index d6c88c4f..30b4bd75 100644
--- a/al/effects/effects.h
+++ b/al/effects/effects.h
@@ -12,7 +12,11 @@ class effect_exception final : public al::base_exception {
ALenum mErrorCode;
public:
+#ifdef __USE_MINGW_ANSI_STDIO
+ [[gnu::format(gnu_printf, 3, 4)]]
+#else
[[gnu::format(printf, 3, 4)]]
+#endif
effect_exception(ALenum code, const char *msg, ...);
ALenum errorCode() const noexcept { return mErrorCode; }