develooper Front page | perl.perl5.porters | Postings from January 2018

[perl #132766] Recent changes to inline.h have broken VC6 build onWindows

Thread Previous | Thread Next
From:
Steve Hay
Date:
January 25, 2018 14:04
Subject:
[perl #132766] Recent changes to inline.h have broken VC6 build onWindows
Message ID:
rt-4.0.24-15203-1516889039-487.132766-75-0@perl.org
# New Ticket Created by  Steve Hay 
# Please include the string:  [perl #132766]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132766 >


I've just discovered that the VC6 build on Windows is broken:

cl -c -nologo -GF -W3 -I..\lib\CORE -I.\include -I. -I.. -DWIN32
-D_CONSOLE -DNO_STRICT -DPERLDLL -DPERL_CORE   -O1 -MD -Zi -DNDEBUG
-DPERL_EXTERNAL_GLOB -DPERL_IS_MINIPERL -Fo.\mini\av.obj ..\av.c
av.c
..\inline.h(551) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(551) : error C2146: syntax error : missing ')' before identifier 'L'
..\inline.h(551) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(551) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(552) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(552) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(552) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(553) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(553) : error C2059: syntax error : 'bad suffix on number'
..\inline.h(600) : error C2061: syntax error : identifier
'S_variant_under_utf8_count'
..\inline.h(600) : error C2059: syntax error : ';'
..\inline.h(600) : error C2059: syntax error : 'type'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

It seems that VC6 doesn't understand the "ULL" suffixes on numbers in
the chunk of new code in inline.h added by commit
1d2af5744d75143cf7ee8bfd33d4366a95dd1b95 ("Avoid some branches").


Thread Previous | Thread Next


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