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

Re: [perl #132766] Recent changes to inline.h have broken VC6 buildon Windows

Thread Previous | Thread Next
From:
Tomasz Konojacki
Date:
January 25, 2018 23:22
Subject:
Re: [perl #132766] Recent changes to inline.h have broken VC6 buildon Windows
Message ID:
20180126002242.9CC5.5C4F47F8@xenu.pl


On Thu, 25 Jan 2018 06:04:00 -0800
Steve Hay (via RT) <perlbug-followup@perl.org> wrote:

> 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").

Do we really want to keep supporting VC6? That compiler is 20 years old,
it doesn't work on modern Windows versions and I believe it's the last
version of MSVC without proper support of 64-bit integers.

I feel that VC6 support is a liability. 

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