New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cygwin: Warning: assignment discards 'const' qualifier (S_copy_little_tm_to_big_TM) #15391
Comments
From @dcollinsnMy system struct tm is defined thusly: struct tm When compiling with the default flags, I receive the following warning: cc -c -DPERL_CORE -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -std=c89 -O3 -g -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings time64.c Adding __CYGWIN__ to the list of platforms where we have const char* tm_zone in time64.h silences the warning, however it might be better to detect this automatically in Configure. |
The RT System itself - Status changed from 'new' to 'open' |
@tonycoz - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release today of Perl 5.26.0, this and 210 other issues have been Perl 5.26.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#128359 (status was 'resolved')
Searchable as RT128359$
The text was updated successfully, but these errors were encountered: