-
Notifications
You must be signed in to change notification settings - Fork 560
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
Win32: Define __USE_MINGW_ANSI_STDIO for all gcc builds #15783
Comments
From @sisyphusHi, Currently the win32/makefile.mk and win32/GNUmakefile that ship with the In win32/makefile.mk: .IF "$(USE_LONG_DOUBLE)" == "define" In win32/GNUmakefile: ifeq ($(USE_LONG_DOUBLE),define) It would be better if the condition was changed so that the symbol is Looks to me that the above sections are already inside a "$(CCTYPE) is GCC" This removes laughable behaviour from "nvtype is double" mingw builds of For example, a usual "nvtype is double" mingw build of perl-5.25.7 C:\>perl -MPOSIX="DBL_MAX" -le "printf '%f', DBL_MAX;" But if the same perl source is built *with* __USE_MINGW_ANSI_STDIO (achieved C:\>perl -MPOSIX="DBL_MAX" -le "printf '%f', DBL_MAX;" I've just built and installed both 32-bit and 64-bit versions of Test Summary Report porting/pod_rules.t (Wstat: 0 This is no different to the report obtained when I built 5.25.7 *without* I can't run the entire test suite for the 5.25.8 x64, nvtype='double' build ../cpan/IO-Compress/t/100generic-deflate.t ......................... 1/794 (This happens irrespective of whether __USE_MINGW_ANSI_STDIO is defined.) Cheers, |
From @sisyphusHi, No sign of any change regarding this in perl-5.25.9. If this is "too late in the day" to be considered for perl-5.26.0, could we -D__USE_MINGW_ANSI_STDIO affects runtime behaviour only. AFAIK there should Cheers, -----Original Message-----
|
@jkeenan - Status changed from 'new' to 'open' |
From @sisyphusIs there any interest in getting anything done about this for 5.26.0 ? (Severity of this ticket is currently set to "low". I would change that to "normal" if I could work out how to do that.) Cheers, |
From @steve-m-hayOn Tue, 14 Feb 2017 04:07:49 -0800, sisyphus wrote:
Sounds like it would be sensible to me from the evidence you've posted, but I don't really know anything about this option. Andy/Jan/kmx: Any opinions from the maintainers of the two most popular builds of perl on Windows (both gcc-based)? |
From @kmxOn 16.02.2017 9:27, Steve Hay via RT wrote:
Sending for the third time, I have no idea what is blocking my messages On 16.02.2017 9:32, kmx wrote:
|
From @steve-m-hayOn 16 February 2017 at 21:03, kmx <kmx@atlas.cz> wrote:
Third time lucky :-) Do we have any idea what the DBD::Pg problem is? Is it something that |
From @sisyphus-----Original Message-----
Good question - I too am wondering if there's any evidence to indicate that Another test would be to build an nvtype='double' build of perl with Looking a bit further, I've found that my older 32-bit perls (ie up to and Cheers, |
From @kmxOn 20.02.2017 11:57, sisyphus1@optusnet.com.au wrote:
It is not a problem of "long double". If you take any "standard" strawberry perl + manual edit Config_heavy.pl On my laptop it fails like this: For sure it is not a bug in perl core. However, before turning I want to avoid excluding DBD::Pg from strawberry perl 5.26.x series due to -- |
From @xenuOn Mon, 20 Feb 2017, at 20:00, kmx wrote:
|
From @xenuOn Mon, 20 Feb 2017, at 20:15, me@xenu.pl wrote: |
From @kmx
According to my research the trouble maker is the following part of Pg.h #ifndef snprintf after removing -- |
From @sisyphusHi, Something else to perhaps consider: In a recent (29th May) post to gmpbugs (gmp-bugs@gmplib.org) Keith Marshall [--quote--] I would also point out that, as a "__USE_*" feature test, users should *not* [--end quote--] In view of those comments and as regards perl, should we therefore be Keith is a (the ?) lead developer at mingw.org. Cheers, |
From @sisyphus-----Original Message----- Since nothing has happened with this, AFAICT, I thought I'd send a patch It merely gives one the *option* of building with -D__USE_MINGW_ANSI_STDIO For "nvtype=long double" builds (as has always been the I hope that someone can apply this patch. If it's deemed more appropriate that -D__USE_MINGW_ANSI_STDIO should be the Cheers, |
From @steve-m-hayOn Thu, 26 Oct 2017 22:59:56 -0700, sisyphus wrote:
Thanks for the patch, and apologies for the delay in getting around to looking at it. I've just applied a slightly modified version in commit f019f33. Please could you confirm that I've not broken it in the course of changing it slightly? If all is well then this ticket can be closed. |
From @sisyphus-----Original Message-----
Yep - this is doing the right thing. Thanks for attending to it. Am *I* supposed to be able to close this ticket ? I logged in to Cheers, |
From @xsawyerxOn Thu, 16 Nov 2017 04:29:02 -0800, sisyphus wrote:
Done! |
@xsawyerx - Status changed from 'open' to 'pending release' |
From @cpansproutOn Thu, 16 Nov 2017 04:29:02 -0800, sisyphus wrote:
’Fraid it’s admins only. -- Father Chrysostomos |
From @steve-m-hayOn 16 November 2017 at 21:05, Father Chrysostomos via RT
I was surpried that the OP couldn't close his own ticket. I thought |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release yesterday of Perl 5.28.0, this and 185 other issues have been Perl 5.28.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#130447 (status was 'resolved')
Searchable as RT130447$
The text was updated successfully, but these errors were encountered: