expected identifier before numeric constant

Issue #1102 closed
Naveenkumar created an issue
Architecture -> powerpc
Kernel Version -> 2.6.28 
gcc  -> 4.9.4 
glibc -> 2.19

https://bitbucket.org/tildeslash/monit/src/9d396d33bb26b23c5efe2ee0f922fedd0a53fcf4/src/monit.h#lines-650
https://bitbucket.org/tildeslash/monit/src/9d396d33bb26b23c5efe2ee0f922fedd0a53fcf4/src/monit.h#lines-1362

src/gc.c: In function '_gcportlist':
<command-line>:0:6: error: expected identifier before numeric constant
./libmonit/src/system/Mem.h:82:35: note: in definition of macro 'FREE'
 #define FREE(p) ((void)(Mem_free((p), __func__, __FILE__, __LINE__), (p) = 0))
                                   ^
src/gc.c:390:35: note: in expansion of macro 'unix'
                 FREE((*p)->target.unix.pathname);

Comments (3)

  1. Log in to comment