summaryrefslogtreecommitdiff
path: root/ui/wx_form_build_hide_warnings.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
commit0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch)
tree69537ceb9787bb25ac363cc4e6cdaf0804d78363 /ui/wx_form_build_hide_warnings.h
parent5.12 (diff)
downloadFreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.gz
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.bz2
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.zip
5.13
Diffstat (limited to 'ui/wx_form_build_hide_warnings.h')
-rw-r--r--ui/wx_form_build_hide_warnings.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/wx_form_build_hide_warnings.h b/ui/wx_form_build_hide_warnings.h
index 1edd5e4b..71f28340 100644
--- a/ui/wx_form_build_hide_warnings.h
+++ b/ui/wx_form_build_hide_warnings.h
@@ -10,8 +10,10 @@
//pamper over wxFormBuilder "sub-optimal" code
#ifdef __GNUC__
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-variable"
+#ifndef __clang__ //clang seems to define __GNUC__, but doesn't support this warning
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
#elif defined _MSC_VER
#pragma warning(disable: 4189)
bgstack15