develooper Front page | perl.perl5.porters | Postings from November 2015

[perl #126045] [PATCH] Revert "utf8.h, utfebcdic.h: Add someassertions"

From:
bulk88 via RT
Date:
November 28, 2015 08:40
Subject:
[perl #126045] [PATCH] Revert "utf8.h, utfebcdic.h: Add someassertions"
Message ID:
rt-4.0.18-12106-1448700008-1977.126045-15-0@perl.org
On Mon Nov 02 21:02:44 2015, tonyc wrote:
> While I think it's bad in general, both the parser and the regexp
> engine make use of it, and for good reason I think.
> 
> Could you please test the branch tonyc/vc2003-macro-issues to see if
> it crashes VC2003?
> 
> Tony

Your branch changes the fatal error from VC 2003 but doesnt fix it.

before
------------------------------------------------------
C:\perl521\src\win32>dmake test
if not exist ".\mini" mkdir ".\mini"
if exist config.h del /f config.h
copy config_H.vc config.h
        1 file(s) copied.
rem. > .\mini\.exists
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -Od -MD -Zi -DDEBUGGING  -DPERL_EXTERNAL_GLOB -
DPERL_IS_MINIPERL -Fomini\toke.obj -Fdmini\toke.pdb ..\toke.c
toke.c
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -Od -MD -Zi -DDEBUGGING  -DPERL_EXTERNAL_GLOB -
DPERL_IS_MINIPERL -Fomini\regcomp.obj -Fdmini\regcomp.pdb ..\regcomp.c
regcomp.c
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -Od -MD -Zi -DDEBUGGING  -DPERL_EXTERNAL_GLOB -
DPERL_IS_MINIPERL -Fomini\regexec.obj -Fdmini\regexec.pdb ..\regexec.c
regexec.c
..\regexec.c(2006) : fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 2708)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information

dmake:  Error code 130, while making 'mini\regexec.obj'

C:\perl521\src\win32>
------------------------------------------------------

after your patch "* WIP test fix for 126045, needs work, needs testing"
------------------------------------------------------
C:\perl521\src\win32>dmake test
if not exist ".\mini" mkdir ".\mini"
if exist config.h del /f config.h
copy config_H.vc config.h
        1 file(s) copied.
rem. > .\mini\.exists
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -Od -MD -Zi -DDEBUGGING  -DPERL_EXTERNAL_GLOB -
DPERL_IS_MINIPERL -Fomini\toke.obj -Fdmini\toke.pdb ..\toke.c
toke.c
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -Od -MD -Zi -DDEBUGGING  -DPERL_EXTERNAL_GLOB -
DPERL_IS_MINIPERL -Fomini\regcomp.obj -Fdmini\regcomp.pdb ..\regcomp.c
regcomp.c
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -Od -MD -Zi -DDEBUGGING  -DPERL_EXTERNAL_GLOB -
DPERL_IS_MINIPERL -Fomini\regexec.obj -Fdmini\regexec.pdb ..\regexec.c
regexec.c
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5592) : error C2026: string too big, trailing characters truncated
..\regexec.c(5671) : error C2026: string too big, trailing characters truncated
..\regexec.c(5671) : error C2026: string too big, trailing characters truncated
..\regexec.c(5671) : error C2026: string too big, trailing characters truncated
dmake:  Error code 130, while making 'mini\regexec.obj'

C:\perl521\src\win32>
------------------------------------------------------

The description for C2026 says the buffer is 2KB. https://msdn.microsoft.com/en-us/library/dddywwsc%28v=vs.71%29.aspx

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=126045



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