summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmDependsFortranParser.cxx2
-rw-r--r--Source/cmDependsFortranParser.y1
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDependsFortranParser.cxx b/Source/cmDependsFortranParser.cxx
index 286d684..42c9953 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 44210e0..be04c38 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
*/