Skip to content

_BitScanForward on Visual C <2005 support#10

Open
bulk88 wants to merge 1 commit intodanaj:masterfrom
bulk88:master
Open

_BitScanForward on Visual C <2005 support#10
bulk88 wants to merge 1 commit intodanaj:masterfrom
bulk88:master

Conversation

@bulk88
Copy link
Copy Markdown
Contributor

@bulk88 bulk88 commented Jan 11, 2014

No description provided.

@bulk88
Copy link
Copy Markdown
Contributor Author

bulk88 commented Jan 11, 2014

disregard this commit for the moment, preprocessor error

edit, commit fixed

edit, commit fixed, again

broken again "unsigned char_BitScanReverse64(unsigned long * Index,unsigned __int64 Mask);" missing space

fixed again, also now vc6 support

fixed the vc6 inline asm functions with correct PP statement

bulk88 added a commit to perl11/cperl that referenced this pull request Jun 9, 2018
All MSVCs need to use the MSVC branch in S_ceil_to_power2. Add support for
VC 2003. I'll deal with VC6 which doesn't have these builtins another time.
Code from danaj/Math-Prime-Util#10
Fixes

C:\sources\cperl\win32>dmake test
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -O1 -MD -Zi -DNDEBUG -GL  -DPERL_EXTERNAL_GLOB
-DPERL_IS_MINIPERL -Fomini\toke.obj -Fdmini\toke.pdb ..\toke.c
toke.c
c:\sources\cperl\inline.h(1781) : error C2065: 'M_LOG2E' : undeclared identifier

..\toke.c(8622) : warning C4244: '=' : conversion from 'U16' to 'U8', possible l
oss of data
..\toke.c(8752) : warning C4244: '=' : conversion from 'U16' to 'U8', possible l
oss of data
dmake:  Error code 130, while making 'mini\toke.obj'
bulk88 added a commit to perl11/cperl that referenced this pull request Jun 13, 2018
All MSVCs need to use the MSVC branch in S_ceil_to_power2. Add support for
VC 2003. I'll deal with VC6 which doesn't have these builtins another time.
Code from danaj/Math-Prime-Util#10
Fixes

C:\sources\cperl\win32>dmake test
cl -c -nologo -GF -W3 -I.\include -I. -I.. -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL
DLL -DPERL_CORE                  -O1 -MD -Zi -DNDEBUG -GL  -DPERL_EXTERNAL_GLOB
-DPERL_IS_MINIPERL -Fomini\toke.obj -Fdmini\toke.pdb ..\toke.c
toke.c
c:\sources\cperl\inline.h(1781) : error C2065: 'M_LOG2E' : undeclared identifier

..\toke.c(8622) : warning C4244: '=' : conversion from 'U16' to 'U8', possible l
oss of data
..\toke.c(8752) : warning C4244: '=' : conversion from 'U16' to 'U8', possible l
oss of data
dmake:  Error code 130, while making 'mini\toke.obj'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant