Author: cwittich
Date: Sat Jan 26 17:36:52 2008
New Revision: 32015
URL:
http://svn.reactos.org/svn/reactos?rev=32015&view=rev
Log:
hackfix PSEH for gcc > 4.2
this will hide uninitialized variable warnings in the following code
Modified:
trunk/reactos/include/reactos/libs/pseh/framebased.h
Modified: trunk/reactos/include/reactos/libs/pseh/framebased.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/pseh/…
==============================================================================
--- trunk/reactos/include/reactos/libs/pseh/framebased.h (original)
+++ trunk/reactos/include/reactos/libs/pseh/framebased.h Sat Jan 26 17:36:52 2008
@@ -22,6 +22,11 @@
#ifndef KJK_PSEH_FRAMEBASED_H_
#define KJK_PSEH_FRAMEBASED_H_
+
+#if ((__GNUC__ > 4) && (__GNUC_MINOR__ > 1))
+/* warning: this will hide uninitialized variable warnings in the following code */
+# pragma GCC diagnostic ignored "-Wuninitialized"
+#endif
#include <pseh/framebased/internal.h>
#include <pseh/excpt.h>