From 16125cd0156cbc01c3ba4142949a31b462a9faef Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 14 Mar 2005 08:15:08 -0500 Subject: [PATCH] COMP: Added __INTEL_COMPILER to test for yyerrorlab warning suppression. --- Source/cmDependsFortranParser.cxx | 2 +- Source/cmDependsFortranParser.y | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmDependsFortranParser.cxx b/Source/cmDependsFortranParser.cxx index 286d684ec..42c9953dc 100644 --- a/Source/cmDependsFortranParser.cxx +++ b/Source/cmDependsFortranParser.cxx @@ -1410,7 +1410,7 @@ yyerrlab: `---------------------------------------------------*/ yyerrorlab: -#if defined(__GNUC__) || defined(__HP_aCC) +#if defined(__GNUC__) || defined(__HP_aCC) || defined(__INTEL_COMPILER) /* Pacify GCC when the user code never invokes YYERROR and the label yyerrorlab therefore never appears in user code. */ if (0) diff --git a/Source/cmDependsFortranParser.y b/Source/cmDependsFortranParser.y index 44210e024..be04c38fd 100644 --- a/Source/cmDependsFortranParser.y +++ b/Source/cmDependsFortranParser.y @@ -36,6 +36,7 @@ Run bison like this: Modify cmDependsFortranParser.cxx: - remove TABs - add __HP_aCC to the #if test for yyerrorlab warning suppression + - add __INTEL_COMPILER to the #if test for yyerrorlab warning suppression */