hyperion101010

Untitled

Dec 26th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. em++ mandelbrot.cpp -s WASM=1 -o mandelbrot.js
  2. WARNING root: Assigning a non-existent settings attribute "WASM"
  3. WARNING root: - did you mean one of ASM_JS?
  4. WARNING root: - perhaps a typo in emcc's -s X=Y notation?
  5. WARNING root: - (see src/settings.js for valid values)
  6. In file included from mandelbrot.cpp:16:
  7. In file included from /usr/share/emscripten/system/include/emscripten/bind.h:10:
  8. In file included from /usr/share/emscripten/system/include/emscripten/val.h:4:
  9. /usr/share/emscripten/system/include/emscripten/wire.h:24:5: error: unknown type
  10. name 'constexpr'
  11. constexpr bool has_unbound_type_names = true;
  12. ^
  13. /usr/share/emscripten/system/include/emscripten/wire.h:24:15: error: expected
  14. unqualified-id
  15. constexpr bool has_unbound_type_names = true;
  16. ^
  17. /usr/share/emscripten/system/include/emscripten/wire.h:39:20: error: unknown
  18. type name 'constexpr'
  19. static constexpr TYPEID get() {
  20. ^
  21. /usr/share/emscripten/system/include/emscripten/wire.h:39:36: error: expected
  22. ';' at end of declaration list
  23. static constexpr TYPEID get() {
  24. ^
  25. /usr/share/emscripten/system/include/emscripten/wire.h:54:20: error: unknown
  26. type name 'constexpr'
  27. static constexpr TYPEID get() {
  28. ^
  29. /usr/share/emscripten/system/include/emscripten/wire.h:54:36: error: expected
  30. ';' at end of declaration list
  31. static constexpr TYPEID get() {
  32. ^
  33. /usr/share/emscripten/system/include/emscripten/wire.h:63:9: error: unknown type
  34. name 'constexpr'
  35. constexpr TYPEID getLightTypeID(const T& value) {
  36. ^
  37. /usr/share/emscripten/system/include/emscripten/wire.h:63:25: error: expected
  38. ';' at end of declaration
  39. constexpr TYPEID getLightTypeID(const T& value) {
  40. ^
  41. /usr/share/emscripten/system/include/emscripten/wire.h:63:47: error: unknown
  42. type name 'T'
  43. constexpr TYPEID getLightTypeID(const T& value) {
  44. ^
  45. /usr/share/emscripten/system/include/emscripten/wire.h:63:26: error: C++
  46. requires a type specifier for all declarations
  47. constexpr TYPEID getLightTypeID(const T& value) {
  48. ^
  49. /usr/share/emscripten/system/include/emscripten/wire.h:64:44: error: use of
  50. undeclared identifier 'T'
  51. typedef typename Canonicalized<T>::type C;
  52. ^
  53. /usr/share/emscripten/system/include/emscripten/wire.h:64:48: error: definition
  54. or redeclaration of 'type' cannot name the global scope
  55. typedef typename Canonicalized<T>::type C;
  56. ~~^
  57. /usr/share/emscripten/system/include/emscripten/wire.h:64:48: error: typedef
  58. declarator cannot be qualified
  59. typedef typename Canonicalized<T>::type C;
  60. ~~^
  61. /usr/share/emscripten/system/include/emscripten/wire.h:64:52: error: expected
  62. ';' at end of declaration
  63. typedef typename Canonicalized<T>::type C;
  64. ^
  65. /usr/share/emscripten/system/include/emscripten/wire.h:65:21: error: use of
  66. undeclared identifier 'has_unbound_type_names'
  67. return (has_unbound_type_names || std::is_polymorphic<C>::value)
  68. ^
  69. /usr/share/emscripten/system/include/emscripten/wire.h:65:67: error: use of
  70. undeclared identifier 'C'
  71. return (has_unbound_type_names || std::is_polymorphic<C>::value)
  72. ^
  73. /usr/share/emscripten/system/include/emscripten/wire.h:67:31: error: use of
  74. undeclared identifier 'T'
  75. : LightTypeID<T>::get();
  76. ^
  77. /usr/share/emscripten/system/include/emscripten/wire.h:72:20: error: unknown
  78. type name 'constexpr'
  79. static constexpr TYPEID get() {
  80. ^
  81. /usr/share/emscripten/system/include/emscripten/wire.h:72:36: error: expected
  82. ';' at end of declaration list
  83. static constexpr TYPEID get() {
  84. ^
  85. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  86. 20 errors generated.
  87. ERROR root: compiler frontend failed to generate LLVM bitcode, halting
  88. hyperion@hyperion:~/tools/playground/example_codelab/mandelbrot-simple$
Add Comment
Please, Sign In to add comment