I got some library that need "SIMPLEQ_INIT", which is normally defined in queue.h.
I've figured out in queue.h, which can be find under "components/newlib/include/sys/", does not have this macro.
Have somehow supressed this error and let the code finished to compile. And I figured out macro "LIST_INSERT_HEAD" are different as the library supposed to be.
The error code looks like this:
Code: Select all
/home/gfast2/workspace/open62541_port03/build/open62541/open62541.c:3893:5: error: expected specifier-qualifier-list before 'SIMPLEQ_ENTRY'
SIMPLEQ_ENTRY(UA_PublishResponseEntry) listEntry;
^