Hi,

I have downloaded the iotivity-constrained repo.
And following the compiling instructions on port/riot/README.

Once I configure the board and hit make CLIENT=1, the compiler gives me the
following errors.
../../api/oc_main.c:89:22: error: unused parameter ?mtu_size?
[-Werror=unused-parameter]
 oc_set_mtu_size(long mtu_size)
                      ^
../../api/oc_main.c: In function ?oc_set_max_app_data_size?:
../../api/oc_main.c:103:31: error: unused parameter ?size?
[-Werror=unused-parameter]
 oc_set_max_app_data_size(long size)
                               ^
cc1: all warnings being treated as errors.

Is there any way to suppress the compiling error?

Two versions of gcc have been tried.
OS: UBUNTU 16.04. The gcc version  is 5.4.0.
OS: UBUNTU 12.04. The gcc version is 4.6.3.

Thanks,
-Shengrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170526/0e3b79c1/attachment.html>

Reply via email to