Guest User

Untitled

a guest
Oct 1st, 2011
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. # COMPILER_OPTS = ['-m32', '-I/usr/include/linux']
  2.  
  3. python runner.py clang_0_0.test_cubescript
  4. Running Emscripten tests...
  5. test_cubescript (__main__.clang_0_0) ... FAIL
  6.  
  7. ======================================================================
  8. FAIL: test_cubescript (__main__.clang_0_0)
  9. ----------------------------------------------------------------------
  10. Traceback (most recent call last):
  11. File "runner.py", line 2957, in test_cubescript
  12. self.do_test(path_from_root('tests', 'cubescript'), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp')
  13. File "runner.py", line 254, in do_test
  14. build_ll_hook=build_ll_hook, extra_emscripten_args=extra_emscripten_args)
  15. File "runner.py", line 160, in build
  16. assert os.path.exists(f + '.o'), 'Source compilation error: ' + output
  17. AssertionError: Source compilation error: In file included from /dev/shm/tmp/src.cpp:10:
  18. In file included from /usr/include/stdio.h:75:
  19. /usr/include/libio.h:332:3: error: unknown type name 'size_t'
  20. size_t __pad5;
  21. ^
  22. /usr/include/libio.h:336:67: error: use of undeclared identifier 'size_t'
  23. char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
  24. ^
  25. /usr/include/libio.h:364:62: error: unknown type name 'size_t'
  26. typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
  27. ^
  28. /usr/include/libio.h:373:6: error: unknown type name 'size_t'
  29. size_t __n);
  30. ^
  31. /usr/include/libio.h:495:8: error: unknown type name 'size_t'
  32. extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
  33. ^
  34. /usr/include/libio.h:37:20: note: instantiated from:
  35. #define _IO_size_t _G_size_t
  36. ^
  37. In file included from /dev/shm/tmp/src.cpp:10:
  38. In file included from /usr/include/stdio.h:75:
  39. In file included from /usr/include/libio.h:32:
  40. /usr/include/_G_config.h:21:19: note: instantiated from:
  41. #define _G_size_t size_t
  42. ^
  43. In file included from /dev/shm/tmp/src.cpp:10:
  44. In file included from /usr/include/stdio.h:75:
  45. /usr/include/libio.h:495:50: error: C++ requires a type specifier for all declarations
  46. extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
  47. ^~~~~~~~~~
  48. /usr/include/libio.h:37:20: note: instantiated from:
  49. #define _IO_size_t _G_size_t
  50. ^
  51. In file included from /dev/shm/tmp/src.cpp:10:
  52. In file included from /usr/include/stdio.h:75:
  53. In file included from /usr/include/libio.h:32:
  54. /usr/include/_G_config.h:21:19: note: instantiated from:
  55. #define _G_size_t size_t
  56. ^~~~~~
  57. In file included from /dev/shm/tmp/src.cpp:10:
  58. /usr/include/stdio.h:316:35: error: unknown type name 'size_t'
  59. extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
  60. ^
  61. /usr/include/stdio.h:322:47: error: unknown type name 'size_t'
  62. extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
  63. ^
  64. /usr/include/stdio.h:334:20: error: unknown type name 'size_t'
  65. int __modes, size_t __n) __THROW;
  66. ^
  67. /usr/include/stdio.h:341:10: error: unknown type name 'size_t'
  68. size_t __size) __THROW;
  69. ^
  70. /usr/include/stdio.h:383:44: error: unknown type name 'size_t'
  71. extern int snprintf (char *__restrict __s, size_t __maxlen,
  72. ^
  73. /usr/include/stdio.h:387:45: error: unknown type name 'size_t'
  74. extern int vsnprintf (char *__restrict __s, size_t __maxlen,
  75. ^
  76. /usr/include/stdio.h:659:11: error: unknown type name 'size_t'
  77. size_t *__restrict __n, int __delimiter,
  78. ^
  79. /usr/include/stdio.h:662:9: error: unknown type name 'size_t'
  80. size_t *__restrict __n, int __delimiter,
  81. ^
  82. /usr/include/stdio.h:672:8: error: unknown type name 'size_t'
  83. size_t *__restrict __n,
  84. ^
  85. /usr/include/stdio.h:702:8: error: unknown type name 'size_t'
  86. extern size_t fread (void *__restrict __ptr, size_t __size,
  87. ^
  88. /usr/include/stdio.h:702:46: error: unknown type name 'size_t'
  89. extern size_t fread (void *__restrict __ptr, size_t __size,
  90. ^
  91. /usr/include/stdio.h:703:8: error: unknown type name 'size_t'
  92. size_t __n, FILE *__restrict __stream) __wur;
  93. ^
  94. /usr/include/stdio.h:708:8: error: unknown type name 'size_t'
  95. extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
  96. ^
  97. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  98. 20 errors generated.
  99.  
  100.  
Advertisement
Add Comment
Please, Sign In to add comment