diff options
author | Brad King <brad.king@kitware.com> | 2005-01-28 22:09:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-01-28 22:09:43 (GMT) |
commit | 1d1aafda5917cf09eb027ac73373667ec27beddf (patch) | |
tree | 89c4d4d3b721822c9cc50e7721b102ab317ea662 /Source/cmDependsFortranParser.y | |
parent | 3cf041318a8573df5581862d99ab79dcb8159770 (diff) | |
download | CMake-1d1aafda5917cf09eb027ac73373667ec27beddf.zip CMake-1d1aafda5917cf09eb027ac73373667ec27beddf.tar.gz CMake-1d1aafda5917cf09eb027ac73373667ec27beddf.tar.bz2 |
COMP: Disabled warnings in generated code.
Diffstat (limited to 'Source/cmDependsFortranParser.y')
-rw-r--r-- | Source/cmDependsFortranParser.y | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmDependsFortranParser.y b/Source/cmDependsFortranParser.y index c433c76..99b513c 100644 --- a/Source/cmDependsFortranParser.y +++ b/Source/cmDependsFortranParser.y @@ -35,7 +35,6 @@ Run bison like this: Modify cmDependsFortranParser.c: - remove TABs - - remove the yyerrorlab label and associated code */ @@ -57,6 +56,13 @@ YY_DECL; /* Internal utility functions. */ static void cmDependsFortranError(yyscan_t yyscanner, const char* message); +/* Disable some warnings in the generated code. */ +#ifdef __BORLANDC__ +# pragma warn -8004 /* Variable assigned a value that is not used. */ +#endif +#ifdef _MSC_VER +# pragma warning (disable: 4102) /* Unused goto label. */ +#endif %} /* Generate a reentrant parser object. */ |