Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 938a8fef42c0cf461c486eba602142cd2626e2d4
https://github.com/Perl/perl5/commit/938a8fef42c0cf461c486eba602142cd2626e2d4
Author: Bram <[email protected]>
Date: 2022-08-16 (Tue, 16 Aug 2022)
Changed paths:
M locale.c
Log Message:
-----------
locale.c: Fix trial_locales declaration (fix g++)
Commit e57aaf750b3d2461053eff690d0954bc8fb9d7f3 broke builds with g++
because the declaration of `trial_locales` was incorrect. It contained
an extra 'struct' keyword which is wrong.
Errors on g++:
locale.c:3539:12: error: using typedef-name 'trial_locales_struct'
after 'struct'
struct trial_locales_struct trial_locales[5];
^
locale.c:3537:7: note: 'trial_locales_struct' has a previous
declaration here
} trial_locales_struct;
(Build tested with gcc-12, g++-12, gcc-4.9, g++-4.9)