You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Aditi Hilbert (JIRA)" <ji...@apache.org> on 2017/03/01 21:16:45 UTC

[jira] [Updated] (MYNEWT-648) "newt test net/oic

     [ https://issues.apache.org/jira/browse/MYNEWT-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditi Hilbert updated MYNEWT-648:
---------------------------------
    Description: 
$ newt test net/oic
Testing package net/oic/test
Compiling encoding/cborattr/src/cborattr.c
Compiling encoding/tinycbor/src/cborerrorstrings.c
<snip>
Compiling net/oic/src/api/oc_server_api.c
In file included from net/oic/src/api/oc_buffer.c:23:
In file included from net/oic/src/messaging/coap/engine.h:38:
In file included from net/oic/src/messaging/coap/observe.h:45:
net/oic/include/oic/oc_ri.h:126:3: error: redefinition of typedef 'oc_resource_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
} oc_resource_t;
  ^
net/oic/include/oic/oc_ri.h:98:28: note: previous definition is here
typedef struct oc_resource oc_resource_t;
                           ^
net/oic/include/oic/oc_ri.h:152:28: error: redefinition of typedef 'coap_packet_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct coap_packet coap_packet_t;
                           ^
net/oic/src/messaging/coap/coap.h:227:3: note: previous definition is here
} coap_packet_t;
  ^
In file included from net/oic/src/api/oc_buffer.c:23:
In file included from net/oic/src/messaging/coap/engine.h:39:
In file included from net/oic/src/messaging/coap/separate.h:46:
net/oic/src/messaging/coap/oc_coap.h:30:3: error: redefinition of typedef 'oc_separate_response_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
} oc_separate_response_t;
  ^
net/oic/include/oic/oc_ri.h:64:37: note: previous definition is here
typedef struct oc_separate_response oc_separate_response_t;
                                    ^
In file included from net/oic/src/api/oc_buffer.c:23:
In file included from net/oic/src/messaging/coap/engine.h:39:
In file included from net/oic/src/messaging/coap/separate.h:46:
net/oic/src/messaging/coap/oc_coap.h:37:3: error: redefinition of typedef 'oc_response_buffer_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
} oc_response_buffer_t;
  ^
net/oic/include/oic/oc_ri.h:66:35: note: previous definition is here
typedef struct oc_response_buffer oc_response_buffer_t;
                                  ^
In file included from net/oic/src/api/oc_buffer.c:23:
In file included from net/oic/src/messaging/coap/engine.h:39:
net/oic/src/messaging/coap/separate.h:67:28: error: redefinition of typedef 'coap_packet_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef struct coap_packet coap_packet_t;
                           ^
net/oic/include/oic/oc_ri.h:152:28: note: previous definition is here
typedef struct coap_packet coap_packet_t;
                           ^
5 errors generated.
Error: Test failure(s):
Passed tests: []
Failed tests: [net/oic/test]


> "newt test net/oic
> ------------------
>
>                 Key: MYNEWT-648
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-648
>             Project: Mynewt
>          Issue Type: Bug
>            Reporter: Aditi Hilbert
>
> $ newt test net/oic
> Testing package net/oic/test
> Compiling encoding/cborattr/src/cborattr.c
> Compiling encoding/tinycbor/src/cborerrorstrings.c
> <snip>
> Compiling net/oic/src/api/oc_server_api.c
> In file included from net/oic/src/api/oc_buffer.c:23:
> In file included from net/oic/src/messaging/coap/engine.h:38:
> In file included from net/oic/src/messaging/coap/observe.h:45:
> net/oic/include/oic/oc_ri.h:126:3: error: redefinition of typedef 'oc_resource_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
> } oc_resource_t;
>   ^
> net/oic/include/oic/oc_ri.h:98:28: note: previous definition is here
> typedef struct oc_resource oc_resource_t;
>                            ^
> net/oic/include/oic/oc_ri.h:152:28: error: redefinition of typedef 'coap_packet_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
> typedef struct coap_packet coap_packet_t;
>                            ^
> net/oic/src/messaging/coap/coap.h:227:3: note: previous definition is here
> } coap_packet_t;
>   ^
> In file included from net/oic/src/api/oc_buffer.c:23:
> In file included from net/oic/src/messaging/coap/engine.h:39:
> In file included from net/oic/src/messaging/coap/separate.h:46:
> net/oic/src/messaging/coap/oc_coap.h:30:3: error: redefinition of typedef 'oc_separate_response_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
> } oc_separate_response_t;
>   ^
> net/oic/include/oic/oc_ri.h:64:37: note: previous definition is here
> typedef struct oc_separate_response oc_separate_response_t;
>                                     ^
> In file included from net/oic/src/api/oc_buffer.c:23:
> In file included from net/oic/src/messaging/coap/engine.h:39:
> In file included from net/oic/src/messaging/coap/separate.h:46:
> net/oic/src/messaging/coap/oc_coap.h:37:3: error: redefinition of typedef 'oc_response_buffer_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
> } oc_response_buffer_t;
>   ^
> net/oic/include/oic/oc_ri.h:66:35: note: previous definition is here
> typedef struct oc_response_buffer oc_response_buffer_t;
>                                   ^
> In file included from net/oic/src/api/oc_buffer.c:23:
> In file included from net/oic/src/messaging/coap/engine.h:39:
> net/oic/src/messaging/coap/separate.h:67:28: error: redefinition of typedef 'coap_packet_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
> typedef struct coap_packet coap_packet_t;
>                            ^
> net/oic/include/oic/oc_ri.h:152:28: note: previous definition is here
> typedef struct coap_packet coap_packet_t;
>                            ^
> 5 errors generated.
> Error: Test failure(s):
> Passed tests: []
> Failed tests: [net/oic/test]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)