Skip to content

Fix build in strict mode#21226

Closed
arnaud-lb wants to merge 1 commit intophp:PHP-8.4from
arnaud-lb:gh21215
Closed

Fix build in strict mode#21226
arnaud-lb wants to merge 1 commit intophp:PHP-8.4from
arnaud-lb:gh21215

Conversation

@arnaud-lb
Copy link
Member

@arnaud-lb arnaud-lb commented Feb 16, 2026

When building in strict mode (e.g. -std=c11), compilation of main/debug_gdb_scripts.c fails because asm() is not a standard top level statement. __asm__() however can be reserved by the compiler even in strict mode.

IR will need a similar fix (dstogov/ir#128).

Partially fixes GH-21215.

@arnaud-lb arnaud-lb changed the base branch from master to PHP-8.4 February 16, 2026 13:45
@arnaud-lb arnaud-lb closed this in ede7c67 Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants