Skip to content

Commit

Permalink
ICU-22716 fix gcc warning problem
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankYFTang committed Sep 5, 2024
1 parent 552abea commit b8b4ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions icu4c/source/i18n/number_skeletons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ blueprint_helpers::parseExponentSignOption(const StringSegment& segment, MacroPr
return true;
}

#if U_GCC_MAJOR_MINOR >= 406
#if U_GCC_MAJOR_MINOR >= 700
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdangling-pointer"
#endif
Expand All @@ -1038,7 +1038,7 @@ void blueprint_helpers::parseCurrencyOption(const StringSegment& segment, MacroP
// Slicing is OK
macros.unit = currency; // NOLINT
}
#if U_GCC_MAJOR_MINOR >= 406
#if U_GCC_MAJOR_MINOR >= 700
#pragma GCC diagnostic pop
#endif

Expand Down

0 comments on commit b8b4ba9

Please sign in to comment.