libev-4.20, ev.h: fatal error: expected identifier

Denis Denisov denji0k at gmail.com
Mon Aug 10 05:07:37 CEST 2015


# cc --version
clang version 3.6.0
Thread model: posix

In file included from /usr/local/include/ev++.h:46:
/usr/local/include/ev.h:240:3: fatal error: expected identifier
  EV_ERROR    = (int)0x80000000  /* sent when an error occurs */
  ^
/usr/include/sys/event.h:86:18: note: expanded from macro 'EV_ERROR'
#define EV_ERROR        0x4000          /* error, data contains errno */
                        ^
1 error generated.
*** Error code 1

[ev.c:4827] -> [ev.c:4821]: (warning) Possible null pointer
dereference: once - otherwise it is redundant to check it against
null.
[ev.c:4828] -> [ev.c:4821]: (warning) Possible null pointer
dereference: once - otherwise it is redundant to check it against
null.
[ev.c:3520]: (warning) Assert statement modifies 'loop_done'.
[ev.c:3522]: (warning) Assert statement modifies 'loop_done'.

-- 
Sincerely,
Denis Denisov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darwin-warning.log
Type: application/octet-stream
Size: 17810 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20150810/c4232a73/attachment-0001.obj>


More information about the libev mailing list