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:
Steve Hay via perl5-porters
Date:
January 26, 2018 09:00
Subject:
Re: [perl #132766] Recent changes to inline.h have broken VC6 buildon Windows
Message ID:
CADED=K4QZxht5D7RCYW4hbBp3_SBx=XCe382CuE0AaS+9NcaTg@mail.gmail.com
On 25 January 2018 at 23:22, Tomasz Konojacki <me@xenu.pl> wrote:
>
>
> 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.

I personally agree, and have suggested dropping support before, but
the idea didn't get agreement then, and I don't think much has changed
since then to change things:

https://www.nntp.perl.org/group/perl.perl5.porters/2013/09/msg207597.html

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