Skip to content

Conversation

@muvarov
Copy link

@muvarov muvarov commented Nov 19, 2021

Issue with fallthrough declaration was already
fixed in wolfssl. So just update wolfssl to the latest master.

Signed-off-by: Maxim Uvarov [email protected]


| In file included from /home/maxim/meta-arm/build/tmp/work/qemuarm64_secureboot-poky-linux/optee-ftpm/git-r0/recipe-sysroot/usr/include/optee/export-user_ta/include/stdlib.h:14,
| from ./lib/wolf/wolf_symlink/wolfssl/wolfcrypt/memory.h:29,
| from ./lib/wolf/wolf_symlink/wolfssl/wolfcrypt/types.h:238,
| from ./lib/wolf/wolf_symlink/wolfssl/wolfcrypt/ecc.h:26,
| from lib/wolf/wolf_symlink/wolfcrypt/src/ecc.c:106:
| lib/wolf/wolf_symlink/wolfcrypt/src/ecc.c: In function 'wc_ecc_shared_secret_ex':
| /home/maxim/meta-arm/build/tmp/work/qemuarm64_secureboot-poky-linux/optee-ftpm/git-r0/recipe-sysroot/usr/include/optee/export-user_ta/include/compiler.h:259:21: error: expected ')' before 'attribute'
| 259 | #define fallthrough attribute((fallthrough))
| | ^~~~~~~~~~~~~
| ./lib/wolf/wolf_symlink/wolfssl/wolfcrypt/types.h:184:50: note: in expansion of macro 'fallthrough'
| 184 | #define FALL_THROUGH attribute ((fallthrough));
| | ^~~~~~~~~~~
| lib/wolf/wolf_symlink/wolfcrypt/src/ecc.c:2980:13: note: in expansion of macro 'FALL_THROUGH'
| 2980 | FALL_THROUGH;
| | ^~~~~~~~~~~~
| In file included from ./lib/wolf/wolf_symlink/wolfssl/wolfcrypt/ecc.h:26,
| from lib/wolf/wolf_symlink/wolfcrypt/src/ecc.c:106:
| ./lib/wolf/wolf_symlink/wolfssl/wolfcrypt/types.h:184:62: error: expected identifier or '(' before ')' token
| 184 | #define FALL_THROUGH attribute ((fallthrough));
| | ^
| lib/wolf/wolf_symlink/wolfcrypt/src/ecc.c:2980:13: note: in expansion of macro 'FALL_THROUGH'
| 2980 | FALL_THROUGH;

Issue with __fallthrough__ declaration was already
fixed in wolfssl. So just update wolfssl to the latest master.

Signed-off-by: Maxim Uvarov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant