-
Notifications
You must be signed in to change notification settings - Fork 374
Closed
Description
PHP version
PHP 8.2
PHP SQLSRV or PDO_SQLSRV version
SQLSRV 5.12.0beta1
Microsoft ODBC Driver version
N/D
SQL Server version
N/D
Client operating system
Windows 10
Table schema
N/D
Problem description
Unable to build this version on Windows 10 (VS16)
Expected behavior and actual behavior
Error not expected:
D:\actions-runner\_work\builder\builder\php-dev\include\ext/random/php_random.h(152): error C4146: opérateur moins unaire appliqué à un type non signé, le résultat sera non signé (compilation du fichier source D:\actions-runner\_work\builder\builder\ext\sqlsrv-5.12.0beta1\shared\core_util.cpp)
D:\actions-runner\_work\builder\builder\php-dev\include\ext/random/php_random.h(152): error C4146: opérateur moins unaire appliqué à un type non signé, le résultat sera non signé (compilation du fichier source D:\actions-runner\_work\builder\builder\ext\sqlsrv-5.12.0beta1\shared\core_stream.cpp)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\cl.exe"'�: code retour '0x2'
Stop.
Repro code or steps to reproduce
- Download PECL archive for version 5.12.0beta1
- Extract it and install PHP SDK, PHP DEVEL for PHP 8.2 x64
- Open Visual studio CMD for build x64
- Go to source directory
- Execute
phpsdk-vs16-x64.bat
from PHP SDK - Call
phpize
from PHP devel - call
./configure --enable-sqlsrv
(add options--with-prefix
if need) - call
nmake
Metadata
Metadata
Assignees
Labels
No labels