diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
commit | 0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch) | |
tree | 69537ceb9787bb25ac363cc4e6cdaf0804d78363 /ui/wx_form_build_hide_warnings.h | |
parent | 5.12 (diff) | |
download | FreeFileSync-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.h | 4 |
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) |