COMP: Added __INTEL_COMPILER to test for yyerrorlab warning suppression.
This commit is contained in:
parent
4a0373c27d
commit
16125cd015
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue