Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # COMPILER_OPTS = ['-m32', '-I/usr/include/linux']
- python runner.py clang_0_0.test_cubescript
- Running Emscripten tests...
- test_cubescript (__main__.clang_0_0) ... FAIL
- ======================================================================
- FAIL: test_cubescript (__main__.clang_0_0)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "runner.py", line 2957, in test_cubescript
- self.do_test(path_from_root('tests', 'cubescript'), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp')
- File "runner.py", line 254, in do_test
- build_ll_hook=build_ll_hook, extra_emscripten_args=extra_emscripten_args)
- File "runner.py", line 160, in build
- assert os.path.exists(f + '.o'), 'Source compilation error: ' + output
- AssertionError: Source compilation error: In file included from /dev/shm/tmp/src.cpp:10:
- In file included from /usr/include/stdio.h:75:
- /usr/include/libio.h:332:3: error: unknown type name 'size_t'
- size_t __pad5;
- ^
- /usr/include/libio.h:336:67: error: use of undeclared identifier 'size_t'
- char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
- ^
- /usr/include/libio.h:364:62: error: unknown type name 'size_t'
- typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
- ^
- /usr/include/libio.h:373:6: error: unknown type name 'size_t'
- size_t __n);
- ^
- /usr/include/libio.h:495:8: error: unknown type name 'size_t'
- extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
- ^
- /usr/include/libio.h:37:20: note: instantiated from:
- #define _IO_size_t _G_size_t
- ^
- In file included from /dev/shm/tmp/src.cpp:10:
- In file included from /usr/include/stdio.h:75:
- In file included from /usr/include/libio.h:32:
- /usr/include/_G_config.h:21:19: note: instantiated from:
- #define _G_size_t size_t
- ^
- In file included from /dev/shm/tmp/src.cpp:10:
- In file included from /usr/include/stdio.h:75:
- /usr/include/libio.h:495:50: error: C++ requires a type specifier for all declarations
- extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
- ^~~~~~~~~~
- /usr/include/libio.h:37:20: note: instantiated from:
- #define _IO_size_t _G_size_t
- ^
- In file included from /dev/shm/tmp/src.cpp:10:
- In file included from /usr/include/stdio.h:75:
- In file included from /usr/include/libio.h:32:
- /usr/include/_G_config.h:21:19: note: instantiated from:
- #define _G_size_t size_t
- ^~~~~~
- In file included from /dev/shm/tmp/src.cpp:10:
- /usr/include/stdio.h:316:35: error: unknown type name 'size_t'
- extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
- ^
- /usr/include/stdio.h:322:47: error: unknown type name 'size_t'
- extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
- ^
- /usr/include/stdio.h:334:20: error: unknown type name 'size_t'
- int __modes, size_t __n) __THROW;
- ^
- /usr/include/stdio.h:341:10: error: unknown type name 'size_t'
- size_t __size) __THROW;
- ^
- /usr/include/stdio.h:383:44: error: unknown type name 'size_t'
- extern int snprintf (char *__restrict __s, size_t __maxlen,
- ^
- /usr/include/stdio.h:387:45: error: unknown type name 'size_t'
- extern int vsnprintf (char *__restrict __s, size_t __maxlen,
- ^
- /usr/include/stdio.h:659:11: error: unknown type name 'size_t'
- size_t *__restrict __n, int __delimiter,
- ^
- /usr/include/stdio.h:662:9: error: unknown type name 'size_t'
- size_t *__restrict __n, int __delimiter,
- ^
- /usr/include/stdio.h:672:8: error: unknown type name 'size_t'
- size_t *__restrict __n,
- ^
- /usr/include/stdio.h:702:8: error: unknown type name 'size_t'
- extern size_t fread (void *__restrict __ptr, size_t __size,
- ^
- /usr/include/stdio.h:702:46: error: unknown type name 'size_t'
- extern size_t fread (void *__restrict __ptr, size_t __size,
- ^
- /usr/include/stdio.h:703:8: error: unknown type name 'size_t'
- size_t __n, FILE *__restrict __stream) __wur;
- ^
- /usr/include/stdio.h:708:8: error: unknown type name 'size_t'
- extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment