Re: EV_API_DECL inside ev.c

2023-08-31 Thread Marc Lehmann
Hi, first of all, please see the discussion about compiler warnings in the documentation: http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#COMPILER_WARNINGS On Tue, Aug 29, 2023 at 05:07:23PM +0200, Christian Wendt he/him wrote: > libev-4.33/ev.c:2143:31: warning: ‘ev_default_loop_ptr’

EV_API_DECL inside ev.c

2023-08-29 Thread Christian Wendt he/him
Hi, I get the following warning when compiling libev: libev-4.33/ev.c:2143:31: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’ 2143 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ |