COMP: Added __INTEL_COMPILER to test for yyerrorlab warning suppression.

This commit is contained in:
Brad King 2005-03-14 08:15:08 -05:00
parent 4a0373c27d
commit 16125cd015
2 changed files with 2 additions and 1 deletions

View File

@ -1410,7 +1410,7 @@ yyerrlab:
`---------------------------------------------------*/ `---------------------------------------------------*/
yyerrorlab: 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 /* Pacify GCC when the user code never invokes YYERROR and the label
yyerrorlab therefore never appears in user code. */ yyerrorlab therefore never appears in user code. */
if (0) if (0)

View File

@ -36,6 +36,7 @@ Run bison like this:
Modify cmDependsFortranParser.cxx: Modify cmDependsFortranParser.cxx:
- remove TABs - remove TABs
- add __HP_aCC to the #if test for yyerrorlab warning suppression - add __HP_aCC to the #if test for yyerrorlab warning suppression
- add __INTEL_COMPILER to the #if test for yyerrorlab warning suppression
*/ */