stack/include/internal/ocresource.h includes
stack/include/internal/occlientcb.h.
oclientcb.h includes ocresource.h. Circular includes, and in fact each needs
something in the other.
This builds fine on my workstation, but Jenkins says:
> resource/csdk/stack/include/internal/occlientcb.h:45:31: warning:
> redefinition of typedef 'OCResourceType' is a C11 feature
> [-Wtypedef-redefinition]
! > typedef struct resourcetype_t OCResourceType;
^
> resource/csdk/stack/include/internal/ocresource.h:101:3: note: previous
definition is here } OCResourceType
The line in question is a sly almost-repetition of the structure definition in
ocresource.h.
What's going on here? It might be different warning levels on Jenkins.
John Light
Intel OTC OIC Development
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150522/fdc4af42/attachment.html>