Advertisement
Brandan

Untitled

Oct 11th, 2014
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 6.98 KB | None | 0 0
  1. brandan@brandan-G73Jw ~/Desktop/College/Fall 2014/CS260/Project 1/CS260 Proj 1 $ em++ main.cpp
  2. WARNING  root: LLVM version appears incorrect (seeing "version", expected "3.2")
  3. INFO     root: (Emscripten: Running sanity checks)
  4. main.cpp:60:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  5.             getString("\nPlease enter the name of the winery you want to remove: ", key);
  6.                       ^
  7. main.cpp:65:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  8.             getString("\nPlease enter the name of the winery you want to search: ", key);
  9.                       ^
  10. main.cpp:140:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  11.     getString("\tname: ", name);
  12.               ^
  13. main.cpp:141:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  14.     getString("\tlocation: ", location);
  15.               ^
  16. main.cpp:142:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  17.     year = getInt("\tyear: ");
  18.                   ^
  19. main.cpp:143:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  20.     acres = getFloat("\tacres: ");
  21.                      ^
  22. main.cpp:144:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  23.     rating = getFloat("\trating: ");
  24.                       ^
  25. 7 warnings generated.
  26.  
  27. warning: unresolved symbol: _ZN4listC1Ev
  28. warning: unresolved symbol: _ZN4list12ReadFromDiskEv
  29. warning: unresolved symbol: _ZN4list11WriteToDiskEv
  30. warning: unresolved symbol: _ZN6WineryC1Ev
  31. warning: unresolved symbol: _ZN4list6insertERK6Winery
  32. warning: unresolved symbol: _ZN6WineryD1Ev
  33. warning: unresolved symbol: _ZN4list6removeEPc
  34. warning: unresolved symbol: _ZNK4list6searchEPc
  35. warning: unresolved symbol: _ZlsRNSt3__113basic_ostreamIcNS_11char_traitsIcEEEERK6Winery
  36. warning: unresolved symbol: _ZNK4list8retrieveEPc
  37. warning: unresolved symbol: _ZNK4list7displayEb
  38. warning: unresolved symbol: _ZN6Winery7setAcreEf
  39. warning: unresolved symbol: _ZN6Winery11setLocationEPKc
  40. warning: unresolved symbol: _ZN6Winery7setNameEPKc
  41. warning: unresolved symbol: _ZN6Winery9setRatingEf
  42. warning: unresolved symbol: _ZN6Winery7setYearEi
  43. aborting from js compiler due to exception: unknown vector type <4 x i8> | undefined
  44. aborting from js compiler due to exception: unknown vector type <4 x i8> | undefined
  45. aborting from js compiler due to exception: unknown vector type <4 x i8> | undefined
  46. Traceback (most recent call last):
  47.   File "/usr/share/emscripten/emscripten.py", line 1352, in <module>
  48.     _main(environ=os.environ)
  49.   File "/usr/share/emscripten/emscripten.py", line 1340, in _main
  50.     temp_files.run_and_clean(lambda: main(
  51.   File "/usr/share/emscripten/tools/tempfiles.py", line 39, in run_and_clean
  52.     return func()
  53.   File "/usr/share/emscripten/emscripten.py", line 1348, in <lambda>
  54.     DEBUG_CACHE=DEBUG_CACHE,
  55.   File "/usr/share/emscripten/emscripten.py", line 1235, in main
  56.     jcache=jcache, temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE)
  57.   File "/usr/share/emscripten/emscripten.py", line 292, in emscript
  58.     assert len(output) == 2, 'Did not receive forwarded data in an output - process failed? We only got: ' + output[0][-3000:]
  59. AssertionError: Did not receive forwarded data in an output - process failed? We only got: )==($88|0);
  60.  if($89){label=25;break;}else{label=26;break;}
  61.  case 25:
  62.  var $91=$82;
  63.  var $92=$82;
  64.  var $93=HEAP32[(($92)>>2)];
  65.  var $94=(($93+40)|0);
  66.  var $95=HEAP32[(($94)>>2)];
  67.  var $96=(function() { try { __THREW__ = 0; return FUNCTION_TABLE[$95]($91) } catch(e) { if (typeof e != "number") throw e; if (ABORT) throw e; __THREW__ = 1; return null } })();if (!__THREW__) { label=27;break; } else { label=14;break; }
  68.  case 26:
  69.  var $97=(($85+1)|0);
  70.  HEAP32[(($84)>>2)]=$97;
  71.  var $98=HEAP8[($85)];
  72.  var $99=($98&255);
  73.  var $_017=$99;label=28;break;
  74.  case 27:
  75.  var $100=($96|0)==-1;
  76.  if($100){var $__err_0=2;label=29;break;}else{var $_017=$96;label=28;break;}
  77.  case 28:
  78.  var $_017;
  79.  var $102=HEAP32[(($1)>>2)];
  80.  var $103=((($102)+(1))|0);
  81.  HEAP32[(($1)>>2)]=$103;
  82.  var $104=($_017|0)==($__dlm|0);
  83.  if($104){var $__err_0=0;label=29;break;}else{var $73=$103;label=23;break;}
  84.  case 29:
  85.  var $__err_0;
  86.  var $105=HEAP32[(($2)>>2)];
  87.  var $106=((($105)-(12))|0);
  88.  var $107=$106;
  89.  var $108=HEAP32[(($107)>>2)];
  90.  var $109=(($7+$108)|0);
  91.  var $110=$109;
  92.  var $_sum=((($108)+(16))|0);
  93.  var $111=(($7+$_sum)|0);
  94.  var $112=$111;
  95.  var $113=HEAP32[(($112)>>2)];
  96.  var $114=$113|$__err_0;
  97.  (function() { try { __THREW__ = 0; return __ZNSt3__18ios_base5clearEj($110,$114) } catch(e) { if (typeof e != "number") throw e; if (ABORT) throw e; __THREW__ = 1; return null } })();if (!__THREW__) { label=20;break; } else { label=15;break; }
  98.  case 30:
  99.  var $116$0 = ___cxa_find_matching_catch(-1, -1); var $116$1 = tempRet0;
  100.  (function() { try { __THREW__ = 0; return ___cxa_end_catch() } catch(e) { if (typeof e != "number") throw e; if (ABORT) throw e; __THREW__ = 1; return null } })();if (!__THREW__) { label=31;break; } else { label=32;break; }
  101.  case 31:
  102.  ___resumeException($116$0)
  103.  case 32:
  104.  var $119$0 = ___cxa_find_matching_catch(-1, -1,0); var $119$1 = tempRet0;
  105.  var $120=$119$0;
  106.  ___clang_call_terminate($120);
  107.  throw "Reached an unreachable!";
  108.   default: assert(0, "bad label: " + label);
  109.  }
  110.  
  111. }
  112.  
  113.  
  114. function __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev($this){
  115.  var label=0;
  116.  
  117.  
  118.  var $1=(($this+8)|0);
  119.  __ZNSt3__18ios_baseD2Ev($1);
  120.  var $2=$this;
  121.  __ZdlPv($2);
  122.  return;
  123. }
  124.  
  125.  
  126. function __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev($this){
  127.  var label=0;
  128.  
  129.  
  130.  var $1=(($this+8)|0);
  131.  __ZNSt3__18ios_baseD2Ev($1);
  132.  return;
  133. }
  134.  
  135.  
  136. function __ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev($this){
  137.  var label=0;
  138.  
  139.  
  140.  var $1=$this;
  141.  var $2=$this;
  142.  var $3=HEAP32[(($2)>>2)];
  143.  var $4=((($3)-(12))|0);
  144.  var $5=$4;
  145.  var $6=HEAP32[(($5)>>2)];
  146.  var $7=(($1+$6)|0);
  147.  var $_sum=((($6)+(8))|0);
  148.  var $8=(($1+$_sum)|0);
  149.  var $9=$8;
  150.  __ZNSt3__18ios_baseD2Ev($9);
  151.  __ZdlPv($7);
  152.  return;
  153. }
  154.  
  155.  
  156. function __ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev($this){
  157.  var label=0;
  158.  
  159.  
  160.  var $1=$this;
  161.  var $2=$this;
  162.  var $3=HEAP32[(($2)>>2)];
  163.  var $4=((($3)-(12))|0);
  164.  var $5=$4;
  165.  var $6=HEAP32[(($5)>>2)];
  166.  var $_sum=((($6)+(8))|0);
  167.  var $7=(($1+$_sum)|0);
  168.  var $8=$7;
  169.  __ZNSt3__18ios_baseD2Ev($8);
  170.  return;
  171. }
  172.  
  173.  
  174. Traceback (most recent call last):
  175.   File "/usr/share/emscripten/emcc", line 1864, in <module>
  176.     final = shared.Building.emscripten(final, append_ext=False, extra_args=extra_args)
  177.   File "/usr/share/emscripten/tools/shared.py", line 1276, in emscripten
  178.     assert os.path.exists(filename + '.o.js') and len(open(filename + '.o.js', 'r').read()) > 0, 'Emscripten failed to generate .js: ' + str(compiler_output)
  179. AssertionError: Emscripten failed to generate .js:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement