10
Recientemente he recompilado mi php y, de repente, el código anterior (junto con ejemplos de Internet) dejó de compilarse.El módulo php no compila. No reconoce "static function_entry"
This ejemplo exacto no compila.
de fragmentos del código problemático:
static function_entry hello_functions[] = {
{NULL, NULL, NULL}
};
Este es el error:
/home/user/php_module/test_module/hello.c:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hello_functions’
¿Cuál podría ser el problema?
gracias. Salvaste mi día – apis17