You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a build error in gcc 11.2 because the SDK is using an earlier verions of the external azure_c_shared library without this patch: Azure/azure-c-shared-utility#535
| /home/dar/bb6/build/tmp/work/skylake-64-poky-linux/k4a/1.4.1-r0/git/extern/azure_c_shared/src/src/hmac.c:211:43: error: argument 2 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Werror=array-parameter=]
| 211 | int hmacResult(HMACContext *ctx, uint8_t *digest)
| | ~~~~~~~~~^~~~~~
| In file included from /home/dar/bb6/build/tmp/work/skylake-64-poky-linux/k4a/1.4.1-r0/git/extern/azure_c_shared/src/src/hmac.c:13:
| /home/dar/bb6/build/tmp/work/skylake-64-poky-linux/k4a/1.4.1-r0/git/extern/azure_c_shared/src/inc/azure_c_shared_utility/sha.h:252:42: note: previously declared as an array 'uint8_t[64]' {aka 'unsigned char[64]'}
| 252 | int hmacResult(HMACContext *ctx, uint8_t digest[USHAMaxHashSize]);
| | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
The text was updated successfully, but these errors were encountered:
I'm getting a build error in gcc 11.2 because the SDK is using an earlier verions of the external azure_c_shared library without this patch:
Azure/azure-c-shared-utility#535
| /home/dar/bb6/build/tmp/work/skylake-64-poky-linux/k4a/1.4.1-r0/git/extern/azure_c_shared/src/src/hmac.c:211:43: error: argument 2 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Werror=array-parameter=]
| 211 | int hmacResult(HMACContext *ctx, uint8_t *digest)
| | ~~~~~~~~~^~~~~~
| In file included from /home/dar/bb6/build/tmp/work/skylake-64-poky-linux/k4a/1.4.1-r0/git/extern/azure_c_shared/src/src/hmac.c:13:
| /home/dar/bb6/build/tmp/work/skylake-64-poky-linux/k4a/1.4.1-r0/git/extern/azure_c_shared/src/inc/azure_c_shared_utility/sha.h:252:42: note: previously declared as an array 'uint8_t[64]' {aka 'unsigned char[64]'}
| 252 | int hmacResult(HMACContext *ctx, uint8_t digest[USHAMaxHashSize]);
| | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
The text was updated successfully, but these errors were encountered: