summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-14 13:15:08 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-14 13:15:08 (GMT)
commit16125cd0156cbc01c3ba4142949a31b462a9faef (patch)
treeac303bb0f29f225b9ac6a19b24285cc3fe4e9bca /Source
parent4a0373c27db9d1c33bffd2a2431476210e112e9e (diff)
downloadCMake-16125cd0156cbc01c3ba4142949a31b462a9faef.zip
CMake-16125cd0156cbc01c3ba4142949a31b462a9faef.tar.gz
CMake-16125cd0156cbc01c3ba4142949a31b462a9faef.tar.bz2
COMP: Added __INTEL_COMPILER to test for yyerrorlab warning suppression.
Diffstat (limited to 'Source')
-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
*/