diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/demo/Freeze/library/Grammar.y | 4 | ||||
-rw-r--r-- | cpp/demo/Freeze/phonebook/Grammar.y | 4 | ||||
-rw-r--r-- | cpp/src/IceStorm/Grammar.y | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/cpp/demo/Freeze/library/Grammar.y b/cpp/demo/Freeze/library/Grammar.y index 56792016140..213edc3d583 100644 --- a/cpp/demo/Freeze/library/Grammar.y +++ b/cpp/demo/Freeze/library/Grammar.y @@ -18,9 +18,11 @@ #include <Parser.h> #ifdef _WIN32 -// I get this warning from some bison version: +// I get these warnings from some bison versions: // warning C4102: 'yyoverflowlab' : unreferenced label # pragma warning( disable : 4102 ) +// warning C4065: switch statement contains 'default' but no 'case' labels +# pragma warning( disable : 4065 ) #endif using namespace std; diff --git a/cpp/demo/Freeze/phonebook/Grammar.y b/cpp/demo/Freeze/phonebook/Grammar.y index e1e1086dd4c..c5c99358d45 100644 --- a/cpp/demo/Freeze/phonebook/Grammar.y +++ b/cpp/demo/Freeze/phonebook/Grammar.y @@ -18,9 +18,11 @@ #include <Parser.h> #ifdef _WIN32 -// I get this warning from some bison version: +// I get these warnings from some bison versions: // warning C4102: 'yyoverflowlab' : unreferenced label # pragma warning( disable : 4102 ) +// warning C4065: switch statement contains 'default' but no 'case' labels +# pragma warning( disable : 4065 ) #endif using namespace std; diff --git a/cpp/src/IceStorm/Grammar.y b/cpp/src/IceStorm/Grammar.y index 958cd6df243..40fed46e8cc 100644 --- a/cpp/src/IceStorm/Grammar.y +++ b/cpp/src/IceStorm/Grammar.y @@ -18,9 +18,11 @@ #include <IceStorm/Parser.h> #ifdef _WIN32 -// I get this warning from some bison version: +// I get these warnings from some bison versions: // warning C4102: 'yyoverflowlab' : unreferenced label # pragma warning( disable : 4102 ) +// warning C4065: switch statement contains 'default' but no 'case' labels +# pragma warning( disable : 4065 ) #endif using namespace std; |