- changed status to duplicate
make warning
Issue #34
duplicate
In file included from /tmp/ev-1.0.4/php7/evwrap.c:2:0: /tmp/ev-1.0.4/php7/../libev/ev.c:1825:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ ^ /tmp/ev-1.0.4/php7/../libev/ev.c: In function 'evpipe_write': /tmp/ev-1.0.4/php7/../libev/ev.c:2454:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &counter, sizeof (uint64_t)); ^ /tmp/ev-1.0.4/php7/../libev/ev.c:2466:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &(evpipe [1]), 1); ^ /tmp/ev-1.0.4/php7/../libev/ev.c: In function 'pipecb': /tmp/ev-1.0.4/php7/../libev/ev.c:2487:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [1], &counter, sizeof (uint64_t)); ^ /tmp/ev-1.0.4/php7/../libev/ev.c:2501:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [0], &dummy, sizeof (dummy));
Env:
PHP 7.2.3-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Mar 6 2018 11:18:25) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.3-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
Comments (1)
-
repo owner - Log in to comment
Duplicate of
#32.