Fri Jul 19 07:41:01 2019: Request 129768 was acted upon. Transaction: Correspondence added by kue...@posteo.de Queue: Wx Subject: [rt.cpan.org #129768] Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: profe...@dementianati.com Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=129768 >
> C:\Strawberry\perl\lib\CORE/XSUB.h:612:33: note: in expansion of macro > 'PerlMem_calloc' > # define calloc PerlMem_calloc > ^~~~~~~~~~~~~~ > C:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/hashmap.h:121:25: > note: in expansion of macro 'calloc' > return (void **)calloc(sz, sizeof(void*)); # define calloc PerlMem_calloc has been added to XSUB.h between the Strawberry releases 5.28 (where Wx installs fine) and 5.30 https://github.com/Perl/perl5/commit/5ace197f9a644bde21b1b41430099295ed92365e#diff-9f655f96189bd19669d20a123da441de leading to conflicts with dirty tricks in Wx. It builds and passes the tests after patching cpp\wxapi.h @@ -133,6 +133,7 @@ #undef getc #undef getenv #undef malloc +#undef calloc #undef open #undef read #undef realloc Test result: ... All tests successful. Test Summary Report ------------------- t/04_userdata.t (Wstat: 0 Tests: 65 Failed: 0) TODO passed: 25, 33, 41, 57 Files=23, Tests=786, 19 wallclock secs ( 0.27 usr + 0.09 sys = 0.36 CPU) Result: PASS Have fun, Kai-Uwe