Skip to content

Instantly share code, notes, and snippets.

View Fosten's full-sized avatar

Fosten

View GitHub Profile
@Fosten
Fosten / gist:4878df1eb151851ce3de86b25d507ba3
Created January 10, 2019 23:36
farmOS build error on Raspbian Lite
In file included from /usr/local/include/php/Zend/zend.h:36:0,
from /usr/local/include/php/main/php.h:35,
from /var/www/html/php-geos/geos.c:26:
/var/www/html/php-geos/geos.c: In function 'zim_Geometry_buffer':
/var/www/html/php-geos/geos.c:69:79: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types]
# define GEOS_PHP_HASH_GET_CUR_KEY(s,k,i) zend_hash_get_current_key((s), (k), (i))
^
/usr/local/include/php/Zend/zend_hash.h:209:46: note: in definition of macro 'zend_hash_get_current_key'
zend_hash_get_current_key_ex(ht, str_index, num_index, &(ht)->nInternalPointer)
^~~~~~~~~