php-src/win32/build
Christoph M. Becker 836a162089
Don't fiddle with NDEBUG in C code (GH-16511)
* Don't fiddle with NDEBUG in C code

It is way to late to do this in php.h, since assert.h has already been
included.  Even pushing that down to zend_portability.h may not have
the desired effect.  Instead we define or undefine NDEBUG as CFLAG, so
that it works in all circumstances.

As a last resort we fail at build time, if `NDEBUG` is defined when
`ZEND_DEBUG` is enabled.

We also remove the useless workaround in zend_test to include assert.h
again, since that usually won't have any effect anyway.

Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
2024-10-27 18:20:59 +01:00
..
buildconf.js Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
config.w32 Move ARG_ENABLE() "macros" out of confutils.js (GH-16398) 2024-10-19 15:26:53 +02:00
config.w32.h.in Merge branch 'PHP-8.3' 2024-09-22 19:30:03 +02:00
config.w32.phpize.in Move ARG_ENABLE() "macros" out of confutils.js (GH-16398) 2024-10-19 15:26:53 +02:00
configure.bat Fix #79146: cscript can fail to run on some systems 2020-01-21 11:53:11 +01:00
configure.tail Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
confutils.js Don't fiddle with NDEBUG in C code (GH-16511) 2024-10-27 18:20:59 +01:00
cppcheck_suppress.txt Add basic cppcheck suppressions file 2018-02-19 17:43:49 +01:00
cppcheck_x64.cfg Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) 2023-02-18 19:31:28 +00:00
cppcheck_x86.cfg Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) 2023-02-18 19:31:28 +00:00
cppcheck.cfg
default.manifest Fix minimal Windows version 2024-09-22 19:28:43 +02:00
deplister.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
Makefile Define default RE2C_FLAGS (#14615) 2024-06-24 22:09:04 +02:00
Makefile.phpize Support test-ini also for phpize builds 2022-08-26 14:25:10 +02:00
mkdist.php [skip ci] Fix typos discovered by codespell (#12228) 2023-09-18 11:07:17 +01:00
mkico.bat Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
mkico.sh Sync file permissions 2024-08-02 02:39:52 +02:00
php-classic.svg Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
php.ico Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
php.svg Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
phpize.bat Fix #79146: cscript can fail to run on some systems 2020-01-21 11:53:11 +01:00
phpize.js.in Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
registersyslog.php Use regedit to register event source 2019-07-18 09:10:48 +02:00
template.rc Use HTTPS URLs in resource files 2022-06-15 17:56:14 +02:00
wsyslog.mc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00