Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [1/4] [1] c src/base/hash_libtomcrypt.c
- [2/4] [7] c src/base/system.c
- src/base/hash_libtomcrypt.c: In function 'store64':
- src/base/hash_libtomcrypt.c:45:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 0; i != 8; ++i)
- ^
- src/base/hash_libtomcrypt.c:45:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
- src/base/hash_libtomcrypt.c: In function 'store32':
- src/base/hash_libtomcrypt.c:51:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 0; i != 4; ++i)
- ^
- src/base/hash_libtomcrypt.c: In function 'sha_compress':
- src/base/hash_libtomcrypt.c:69:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 0; i < 8; i++)
- ^
- src/base/hash_libtomcrypt.c:73:13: error: redefinition of 'i'
- for(int i = 0; i < 16; i++)
- ^
- src/base/hash_libtomcrypt.c:69:13: note: previous definition of 'i' was here
- for(int i = 0; i < 8; i++)
- ^
- src/base/hash_libtomcrypt.c:73:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 0; i < 16; i++)
- ^
- src/base/hash_libtomcrypt.c:77:13: error: redefinition of 'i'
- for(int i = 16; i < 64; i++)
- ^
- src/base/hash_libtomcrypt.c:73:13: note: previous definition of 'i' was here
- for(int i = 0; i < 16; i++)
- ^
- src/base/hash_libtomcrypt.c:77:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 16; i < 64; i++)
- ^
- src/base/hash_libtomcrypt.c:89:13: error: redefinition of 'i'
- for(int i = 0; i < 64; ++i)
- ^
- src/base/hash_libtomcrypt.c:77:13: note: previous definition of 'i' was here
- for(int i = 16; i < 64; i++)
- ^
- src/base/hash_libtomcrypt.c:89:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 0; i < 64; ++i)
- ^
- src/base/hash_libtomcrypt.c:97:13: error: redefinition of 'i'
- for(int i = 0; i < 8; i++)
- ^
- src/base/hash_libtomcrypt.c:89:13: note: previous definition of 'i' was here
- for(int i = 0; i < 64; ++i)
- ^
- src/base/hash_libtomcrypt.c:97:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 0; i < 8; i++)
- ^
- src/base/hash_libtomcrypt.c: In function 'sha_done':
- src/base/hash_libtomcrypt.c:176:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int i = 0; i < 8; i++)
- ^
- bam: 'c src/base/hash_libtomcrypt.c' error 256
- src/base/system.c: In function 'time_iseasterday':
- src/base/system.c:1762:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
- for(int day_offset = -1; day_offset <= 2; day_offset++)
- ^
- src/base/system.c:1762:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
- bam: 'c src/base/system.c' error 256
- bam: error: a build step failed
Advertisement
Add Comment
Please, Sign In to add comment