mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 15:32:10 +08:00
COMP: Adding warning work-around for unused case label yyerrorlab on HP compiler.
This commit is contained in:
@@ -5912,7 +5912,7 @@ yyerrlab:
|
||||
`---------------------------------------------------*/
|
||||
yyerrorlab:
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) || defined(__HP_aCC)
|
||||
/* Pacify GCC when the user code never invokes YYERROR and the label
|
||||
yyerrorlab therefore never appears in user code. */
|
||||
if (0)
|
||||
|
Reference in New Issue
Block a user