From 3f36047eff3a198b9cdac2f5cab4180427ce875f Mon Sep 17 00:00:00 2001
From: suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Date: Sat, 1 Aug 2009 00:30:11 +0900
Subject: [PATCH] gxvalid: Insert PureC pragma to allow unevaluated variables.

---
 ChangeLog            | 8 ++++++++
 builds/atari/ATARI.H | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index a5fd20fcc..5a0778dc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
+	gxvalid: Insert PureC pragma to allow unevaluated variables.
+
+	* builds/atari/ATARI.H: Insert PureC pragma not to
+	warn against set-but-unevaluated variable in gxvalid
+	module.
+
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
 	gxvalid: Pass the union by the pointer instead of the value.
diff --git a/builds/atari/ATARI.H b/builds/atari/ATARI.H
index bb6913803..9f78c924b 100644
--- a/builds/atari/ATARI.H
+++ b/builds/atari/ATARI.H
@@ -1,3 +1,7 @@
+#if defined( __GXVALID_H__ )
+#pragma warn -aus /* too many unevaluated variables in gxvalid */
+#endif
+
 #ifndef ATARI_H
 #define ATARI_H