summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsachin gupta <sgupta2m@in.ibm.com>2014-01-21 09:19:22 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-02-06 17:34:16 -0600
commit468b248f8998376a38c7cbfe14a8568f3245bea6 (patch)
treef03db17a4f4a9e2067e94acfa65e8852ae33854d
parent329e4233960e141fb0e9f1a5e8bae7955e6b6b11 (diff)
downloadtalos-hostboot-468b248f8998376a38c7cbfe14a8568f3245bea6.tar.gz
talos-hostboot-468b248f8998376a38c7cbfe14a8568f3245bea6.zip
PRD: Treat compile warnings as errors
Change-Id: I9f5e38fd3adc217e84dafb381a540c57fb94b3bf Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8188 Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8587 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rwxr-xr-xsrc/usr/diag/prdf/common/framework/rule/prdrCompile.lex7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/diag/prdf/common/framework/rule/prdrCompile.lex b/src/usr/diag/prdf/common/framework/rule/prdrCompile.lex
index 3f63a3785..a62e67717 100755
--- a/src/usr/diag/prdf/common/framework/rule/prdrCompile.lex
+++ b/src/usr/diag/prdf/common/framework/rule/prdrCompile.lex
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2004,2013 */
+/* COPYRIGHT International Business Machines Corp. 2004,2014 */
/* */
/* p1 */
/* */
@@ -36,10 +36,11 @@
#include <inttypes.h>
#include <prdrToken.H> // Token structure definition.
#include <prdrCompile.y.H> // Token enums from yacc code.
-
-#define YY_NO_UNPUT // No "Unput" function defined.
%}
+/* Suppress "yyunput defined but not used" warnings */
+%option nounput
+
/* --- Basic type definitions --- */
/* Digits */
OpenPOWER on IntegriCloud