php-sdl icon indicating copy to clipboard operation
php-sdl copied to clipboard

Build falure with SDL 2.0.10

Open remicollet opened this issue 3 years ago • 0 comments

On RHEL / CentOS / Alma / Rocky... 8

In file included from /builddir/build/BUILD/php-pecl-sdl-2.6.0/NTS/src/php_sdl.c:33:
/builddir/build/BUILD/php-pecl-sdl-2.6.0/NTS/src/rect.h:37:42: error: unknown type name 'SDL_FRect'; did you mean 'SDL_Rect'?
 zend_bool zval_to_sdl_frect(zval *value, SDL_FRect *rect);
                                          ^~~~~~~~~
                                          SDL_Rect
compilation terminated due to -Wfatal-errors.

remicollet avatar Mar 21 '22 08:03 remicollet