Browse Source
Without this gcc 4.8 defaults to an older standard and cannot compile the code: ``` gcc-4.8 -DHAVE_CONFIG_H -I. -I../../libwally-core/src -I../../libwally-core -I../../libwally-core/src/ccan -DWALLY_CORE_BUILD=1 -Wall -Wextra -Wpedantic -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wformat -Wformat-security -Wformat-nonliteral -O0 -ggdb -DBUILD_ELEMENTS=1 -flax-vector-conversions -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Wno-variadic-macros -fvisibility=hidden -g -O2 -MT libwallycore_la-elements.lo -MD -MP -MF .deps/libwallycore_la-elements.Tpo -c ../../libwally-core/src/elements.c -o libwallycore_la-elements.o ../../libwally-core/src/elements.c: In function ‘wally_asset_pak_whitelistproof’: ../../libwally-core/src/elements.c:629:5: error: ‘for’ loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < num_keys; ++i) { ^ ../../libwally-core/src/elements.c:629:5: note: use option -std=c99 or -std=gnu99 to compile your code ``` Changelog-Nonetravis-debug
Vasil Dimov
5 years ago
committed by
neil saitug
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue