From: Fabrice F. <no...@gi...> - 2022-08-12 11:49:22
|
Branch: refs/heads/master Home: https://github.com/OpenSC/libp11 Commit: ba44b87318ed89e489fa3ce0a5d66002afa2bd6c https://github.com/OpenSC/libp11/commit/ba44b87318ed89e489fa3ce0a5d66002afa2bd6c Author: Fabrice Fontaine <fon...@gm...> Date: 2022-08-12 (Fri, 12 Aug 2022) Changed paths: M src/p11_attr.c Log Message: ----------- src/p11_attr.c: fix build with gcc 4.8 Fix the following build failure with gcc 4.8 raised since version 0.4.12 and https://github.com/OpenSC/libp11/commit/639a4b6463278c0119a2ec60b261da3e5330fb33: p11_attr.c: In function 'pkcs11_zap_attrs': p11_attr.c:167:2: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned i = 0; i < 32; i++) { ^ p11_attr.c:167:2: note: use option -std=c99 or -std=gnu99 to compile your code Fixes: - http://autobuild.buildroot.org/results/4391020fb5738cc8c26dc53783a6228bbf76473a Signed-off-by: Fabrice Fontaine <fon...@gm...> |