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

warning

Open ixqbar opened this issue 5 years ago • 0 comments

engine.c:43:10: warning: enumeration values 'SAPI_HEADER_DELETE_ALL' and 'SAPI_HEADER_SET_STATUS' not handled in switch [-Wswitch]
engine.c:43:10: note: add missing switch cases
# github.com/deuill/go-php
receiver.c:79:1: warning: control reaches end of non-void function [-Wreturn-type]
# github.com/deuill/go-php
value.c:121:47: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'zend_ulong *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
src/github.com/deuill/go-php/include/php7/_value.h:14:87: note: passing argument to parameter 'num_index' here
/private/var/folders/w6/qc4d3cs57tb1zmnq81d91b_40000gn/T/___go_build_embed_go_darwin #gosetup
Hello World[Mon Oct  8 14:54:30 2018]  Script:  '-'
Zend/zend_string.h(122) :  Freeing 0x0000000009a01820 (40 bytes), script=-
Last leak repeated 1 time
=== Total 2 memory leaks detected ===

ixqbar avatar Oct 08 '18 06:10 ixqbar