Guest User

Untitled

a guest
Apr 19th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. [1/4] [1] c src/base/hash_libtomcrypt.c
  2. [2/4] [7] c src/base/system.c
  3. src/base/hash_libtomcrypt.c: In function 'store64':
  4. src/base/hash_libtomcrypt.c:45:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  5. for(int i = 0; i != 8; ++i)
  6. ^
  7. src/base/hash_libtomcrypt.c:45:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
  8. src/base/hash_libtomcrypt.c: In function 'store32':
  9. src/base/hash_libtomcrypt.c:51:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  10. for(int i = 0; i != 4; ++i)
  11. ^
  12. src/base/hash_libtomcrypt.c: In function 'sha_compress':
  13. src/base/hash_libtomcrypt.c:69:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  14. for(int i = 0; i < 8; i++)
  15. ^
  16. src/base/hash_libtomcrypt.c:73:13: error: redefinition of 'i'
  17. for(int i = 0; i < 16; i++)
  18. ^
  19. src/base/hash_libtomcrypt.c:69:13: note: previous definition of 'i' was here
  20. for(int i = 0; i < 8; i++)
  21. ^
  22. src/base/hash_libtomcrypt.c:73:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  23. for(int i = 0; i < 16; i++)
  24. ^
  25. src/base/hash_libtomcrypt.c:77:13: error: redefinition of 'i'
  26. for(int i = 16; i < 64; i++)
  27. ^
  28. src/base/hash_libtomcrypt.c:73:13: note: previous definition of 'i' was here
  29. for(int i = 0; i < 16; i++)
  30. ^
  31. src/base/hash_libtomcrypt.c:77:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  32. for(int i = 16; i < 64; i++)
  33. ^
  34. src/base/hash_libtomcrypt.c:89:13: error: redefinition of 'i'
  35. for(int i = 0; i < 64; ++i)
  36. ^
  37. src/base/hash_libtomcrypt.c:77:13: note: previous definition of 'i' was here
  38. for(int i = 16; i < 64; i++)
  39. ^
  40. src/base/hash_libtomcrypt.c:89:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  41. for(int i = 0; i < 64; ++i)
  42. ^
  43. src/base/hash_libtomcrypt.c:97:13: error: redefinition of 'i'
  44. for(int i = 0; i < 8; i++)
  45. ^
  46. src/base/hash_libtomcrypt.c:89:13: note: previous definition of 'i' was here
  47. for(int i = 0; i < 64; ++i)
  48. ^
  49. src/base/hash_libtomcrypt.c:97:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  50. for(int i = 0; i < 8; i++)
  51. ^
  52. src/base/hash_libtomcrypt.c: In function 'sha_done':
  53. src/base/hash_libtomcrypt.c:176:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  54. for(int i = 0; i < 8; i++)
  55. ^
  56. bam: 'c src/base/hash_libtomcrypt.c' error 256
  57. src/base/system.c: In function 'time_iseasterday':
  58. src/base/system.c:1762:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  59. for(int day_offset = -1; day_offset <= 2; day_offset++)
  60. ^
  61. src/base/system.c:1762:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
  62. bam: 'c src/base/system.c' error 256
  63. bam: error: a build step failed
Advertisement
Add Comment
Please, Sign In to add comment