Advertisement
Guest User

GCC Errors

a guest
Aug 29th, 2014
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. C:\Users\MyName\Desktop>gcc -O3 peter.c -o peter.exe
  2. peter.c:10:18: error: '__int128' is not supported for this target
  3. typedef unsigned __int128 scalar;
  4. ^
  5. peter.c:23:23: error: unknown type name 'siginfo_t'
  6. void handler(int sig, siginfo_t *siginfo, void *context) {
  7. ^
  8. peter.c: In function 'main':
  9. peter.c:30:22: error: storage size of 'act' isn't known
  10. struct sigaction act;
  11. ^
  12. peter.c:32:25: error: 'handler' undeclared (first use in this function)
  13. act.sa_sigaction = &handler;
  14. ^
  15. peter.c:32:25: note: each undeclared identifier is reported only once for each function it appears in
  16. peter.c:33:20: error: 'SA_SIGINFO' undeclared (first use in this function)
  17. act.sa_flags = SA_SIGINFO;
  18. ^
  19. peter.c:37:5: warning: left shift count >= width of type [enabled by default]
  20. const scalar L = ((scalar)0xc9f2c9cd0UL << 64) + 0x4674edea40000000UL;
  21. ^
  22. peter.c:38:5: warning: left shift count >= width of type [enabled by default]
  23. const scalar T = (scalar)1 << 64; // used in an anti-overflow test
  24. ^
  25. peter.c:69:13: warning: right shift count >= width of type [enabled by default]
  26. printf("Sides: 0x%016"PRIx64"%016"PRIx64, (uint64_t)(x >> 64), (uint64_t)x);
  27. ^
  28. peter.c:70:13: warning: right shift count >= width of type [enabled by default]
  29. printf(", 0x%016"PRIx64"%016"PRIx64, (uint64_t)(y >> 64), (uint64_t)y);
  30. ^
  31. peter.c:71:13: warning: right shift count >= width of type [enabled by default]
  32. printf(", 0x%016"PRIx64"%016"PRIx64, (uint64_t)(z >> 64), (uint64_t)z);
  33. ^
  34. peter.c:72:13: warning: right shift count >= width of type [enabled by default]
  35. printf("; diags 0x%016"PRIx64"%016"PRIx64, (uint64_t)(u >> 64), (uint64_t)u);
  36. ^
  37. peter.c:73:13: warning: right shift count >= width of type [enabled by default]
  38. printf(", 0x%016"PRIx64"%016"PRIx64, (uint64_t)(v >> 64), (uint64_t)v);
  39. ^
  40. peter.c:74:13: warning: right shift count >= width of type [enabled by default]
  41. printf(", 0x%016"PRIx64"%016"PRIx64"\n", (uint64_t)(w >> 64), (uint64_t)w);
  42. ^
  43. peter.c:90:21: warning: right shift count >= width of type [enabled by default]
  44. printf("Sides: 0x%016"PRIx64"%016"PRIx64, (uint64_t)(xc >> 64), (uint64_t)xc);
  45. ^
  46. peter.c:91:21: warning: right shift count >= width of type [enabled by default]
  47. printf(", 0x%016"PRIx64"%016"PRIx64, (uint64_t)(yc >> 64), (uint64_t)yc);
  48. ^
  49. peter.c:92:21: warning: right shift count >= width of type [enabled by default]
  50. printf(", 0x%016"PRIx64"%016"PRIx64, (uint64_t)(zc >> 64), (uint64_t)zc);
  51. ^
  52. peter.c:93:21: warning: right shift count >= width of type [enabled by default]
  53. printf("; diags 0x%016"PRIx64"%016"PRIx64, (uint64_t)(uc >> 64), (uint64_t)uc);
  54. ^
  55. peter.c:94:21: warning: right shift count >= width of type [enabled by default]
  56. printf(", 0x%016"PRIx64"%016"PRIx64, (uint64_t)(vc >> 64), (uint64_t)vc);
  57. ^
  58. peter.c:95:21: warning: right shift count >= width of type [enabled by default]
  59. printf(", 0x%016"PRIx64"%016"PRIx64"\n", (uint64_t)(wc >> 64), (uint64_t)wc);
  60. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement