develooper Front page | perl.perl5.changes | Postings from October 2019

[perl.git] branch tonyc/134445-optimize created.v5.31.4-305-gc9d23a07a2

From:
Tony Cook
Date:
October 10, 2019 00:10
Subject:
[perl.git] branch tonyc/134445-optimize created.v5.31.4-305-gc9d23a07a2
Message ID:
E1iIM1b-000205-56@git.dc.perl.space
In perl.git, the branch tonyc/134445-optimize has been created

<https://perl5.git.perl.org/perl.git/commitdiff/c9d23a07a2960529d2d8aee7cd4a0a902eb73f6a?hp=0000000000000000000000000000000000000000>

        at  c9d23a07a2960529d2d8aee7cd4a0a902eb73f6a (commit)

- Log -----------------------------------------------------------------
commit c9d23a07a2960529d2d8aee7cd4a0a902eb73f6a
Author: Tony Cook <tony@develop-help.com>
Date:   Thu Oct 10 11:05:17 2019 +1100

    Fix Win32 compilation
    
    The macro being called here had a parameter that was a function call and
    was used multiple times in the macro, exceeding some limits on Win32,
    and potentially being actually called multiple times.
    
    On debugging builds (as in re.pm) the first line's macro expansion
    was over 375kB.

commit 3cc7d53abe08b8d080bb4b81498b6911d7a011c0
Author: Tomasz Konojacki <me@xenu.pl>
Date:   Thu Oct 3 13:13:20 2019 +0200

    win32: separate $Config{ccflags} and $Config{optimize}
    
    Optimization flags don't belong in $Config{ccflags}, while
    defines and CRT flags don't belong in $Config{optimize}.
    
    This change makes overriding optimization flags in Makefile.PL
    and Build.PL on win32 just as easy as on unix-likes.
    
    Additionally, don't define NDEBUG, perl.h already takes care of
    that.
    
    [perl #134445]

-----------------------------------------------------------------------

-- 
Perl5 Master Repository



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About