diff options
author | Bram <perl-rt@wizbit.be> | 2022-08-16 11:21:13 +0200 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-08-16 06:30:41 -0600 |
commit | 938a8fef42c0cf461c486eba602142cd2626e2d4 (patch) | |
tree | 06abe741561d91e37706bc79fad440b4cbd84450 /pad.c | |
parent | c818c4589620cabbe050273290e5b67d27319a43 (diff) | |
download | perl-938a8fef42c0cf461c486eba602142cd2626e2d4.tar.gz |
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)
Diffstat (limited to 'pad.c')
0 files changed, 0 insertions, 0 deletions