From 24d49415d2833a1338dfb5fd8c5c1c84df6c282b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 14 May 2009 00:54:50 +0000 Subject: [PATCH] Hide warnings from alex/happy sources --- compiler/cmm/CmmLex.x | 2 +- compiler/cmm/CmmParse.y | 2 +- compiler/parser/HaddockLex.x | 2 +- compiler/parser/HaddockParse.y | 2 +- compiler/parser/Lexer.x | 2 +- compiler/parser/Parser.y.pp | 2 +- compiler/parser/ParserCore.y | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x index 7724565..22741f8 100644 --- a/compiler/cmm/CmmLex.x +++ b/compiler/cmm/CmmLex.x @@ -11,7 +11,7 @@ ----------------------------------------------------------------------------- { -{-# OPTIONS -Wwarn #-} +{-# OPTIONS -Wwarn -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See diff --git a/compiler/cmm/CmmParse.y b/compiler/cmm/CmmParse.y index 9df499e..3469efe 100644 --- a/compiler/cmm/CmmParse.y +++ b/compiler/cmm/CmmParse.y @@ -7,7 +7,7 @@ ----------------------------------------------------------------------------- { -{-# OPTIONS -Wwarn #-} +{-# OPTIONS -Wwarn -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See diff --git a/compiler/parser/HaddockLex.x b/compiler/parser/HaddockLex.x index 6399bee..d5e40f2 100644 --- a/compiler/parser/HaddockLex.x +++ b/compiler/parser/HaddockLex.x @@ -7,7 +7,7 @@ -- { -{-# OPTIONS -Wwarn #-} +{-# OPTIONS -Wwarn -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See diff --git a/compiler/parser/HaddockParse.y b/compiler/parser/HaddockParse.y index ca2675f..8a46bea 100644 --- a/compiler/parser/HaddockParse.y +++ b/compiler/parser/HaddockParse.y @@ -1,5 +1,5 @@ { -{-# OPTIONS -Wwarn #-} +{-# OPTIONS -Wwarn -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 5fa2768..f60b652 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -32,7 +32,7 @@ -- qualified varids. { -{-# OPTIONS -Wwarn #-} +{-# OPTIONS -Wwarn -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index d5314e4..a8eb1f7 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -8,7 +8,7 @@ -- --------------------------------------------------------------------------- { -{-# OPTIONS -Wwarn #-} +{-# OPTIONS -Wwarn -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See diff --git a/compiler/parser/ParserCore.y b/compiler/parser/ParserCore.y index 49f70e4..be16c36 100644 --- a/compiler/parser/ParserCore.y +++ b/compiler/parser/ParserCore.y @@ -1,5 +1,5 @@ { -{-# OPTIONS -Wwarn #-} +{-# OPTIONS -Wwarn -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See -- 1.7.10.4