https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66066
--- Comment #9 from Vidya Praveen <vp at gcc dot gnu.org> --- glibc's tz code (which causes this error) will get fixed eventually: https://sourceware.org/bugzilla/show_bug.cgi?id=18396 However if it's justifiable, it's good to move this error under -pedantic.