Fix compilation with GCC 9
Fixes build error with GCC 9 of: | /opt/yocto/kde/nanbield/build-visionfive2/tmp/work/x86_64-linux/ki18n-native/6.0.0/ki18n-6.0.0/src/localedata/timezonedata.cpp:15:34: error: non-constant condition for static assertion | 15 | static_assert(isSortedLookupTable(country_timezone_map)); | | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ | /opt/yocto/kde/nanbield/build-visionfive2/tmp/work/x86_64-linux/ki18n-native/6.0.0/ki18n-6.0.0/src/localedata/timezonedata.cpp:15:34: error: ‘constexpr bool isSortedLookupTable(const MapEntry (&)[N]) [with MapEntry = MapEntry<short unsigned int>; long unsigned int N = 214]’ called in a constant expression | In file included from /opt/yocto/kde/nanbield/build-visionfive2/tmp/work/x86_64-linux/ki18n-native/6.0.0/ki18n-6.0.0/src/localedata/timezonedata_p.h:10, | from /opt/yocto/kde/nanbield/build-visionfive2/tmp/work/x86_64-linux/ki18n-native/6.0.0/ki18n-6.0.0/src/localedata/timezonedata.cpp:7: | /opt/yocto/kde...
Please register or sign in to comment