You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/07/12 19:46:46 UTC
[GitHub] [mynewt-core] sjanc opened a new pull request #2640: baselibc: Fix build with -Werror=array-parameter enabled
sjanc opened a new pull request #2640:
URL: https://github.com/apache/mynewt-core/pull/2640
repos/apache-mynewt-core/libc/baselibc/src/jrand48.c:8:29: error: argument 1 of type
‘short unsigned int[3]’ with mismatched bound [-Werror=array-parameter=]
8 | long jrand48(unsigned short xsubi[3])
| ~~~~~~~~~~~~~~~^~~~~~~~
In file included from repos/apache-mynewt-core/libc/baselibc/src/jrand48.c:5:
repos/apache-mynewt-core/libc/baselibc/include/stdlib.h:66:23: note: previously declared
as ‘short unsigned int *’
66 | __extern long jrand48(unsigned short *);
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] utzig merged pull request #2640: baselibc: Fix build with -Werror=array-parameter enabled
Posted by GitBox <gi...@apache.org>.
utzig merged pull request #2640:
URL: https://github.com/apache/mynewt-core/pull/2640
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org