summaryrefslogtreecommitdiff
path: root/ui/wx_form_build_hide_warnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/wx_form_build_hide_warnings.h')
-rw-r--r--ui/wx_form_build_hide_warnings.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ui/wx_form_build_hide_warnings.h b/ui/wx_form_build_hide_warnings.h
new file mode 100644
index 00000000..277fa0e7
--- /dev/null
+++ b/ui/wx_form_build_hide_warnings.h
@@ -0,0 +1,16 @@
+// **************************************************************************
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
+// * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) *
+// **************************************************************************
+
+#ifndef WX_FORM_BUILD_230948324234234
+#define WX_FORM_BUILD_230948324234234
+
+//hide compiler warnings in generated code
+
+#ifdef __GNUC__
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
+
+#endif //WX_FORM_BUILD_230948324234234
bgstack15