Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- brandan@brandan-G73Jw ~/Desktop/College/Fall 2014/CS260/Project 1/CS260 Proj 1 $ em++ main.cpp
- WARNING root: LLVM version appears incorrect (seeing "version", expected "3.2")
- INFO root: (Emscripten: Running sanity checks)
- main.cpp:60:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
- getString("\nPlease enter the name of the winery you want to remove: ", key);
- ^
- main.cpp:65:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
- getString("\nPlease enter the name of the winery you want to search: ", key);
- ^
- main.cpp:140:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
- getString("\tname: ", name);
- ^
- main.cpp:141:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
- getString("\tlocation: ", location);
- ^
- main.cpp:142:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
- year = getInt("\tyear: ");
- ^
- main.cpp:143:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
- acres = getFloat("\tacres: ");
- ^
- main.cpp:144:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
- rating = getFloat("\trating: ");
- ^
- 7 warnings generated.
- warning: unresolved symbol: _ZN4listC1Ev
- warning: unresolved symbol: _ZN4list12ReadFromDiskEv
- warning: unresolved symbol: _ZN4list11WriteToDiskEv
- warning: unresolved symbol: _ZN6WineryC1Ev
- warning: unresolved symbol: _ZN4list6insertERK6Winery
- warning: unresolved symbol: _ZN6WineryD1Ev
- warning: unresolved symbol: _ZN4list6removeEPc
- warning: unresolved symbol: _ZNK4list6searchEPc
- warning: unresolved symbol: _ZlsRNSt3__113basic_ostreamIcNS_11char_traitsIcEEEERK6Winery
- warning: unresolved symbol: _ZNK4list8retrieveEPc
- warning: unresolved symbol: _ZNK4list7displayEb
- warning: unresolved symbol: _ZN6Winery7setAcreEf
- warning: unresolved symbol: _ZN6Winery11setLocationEPKc
- warning: unresolved symbol: _ZN6Winery7setNameEPKc
- warning: unresolved symbol: _ZN6Winery9setRatingEf
- warning: unresolved symbol: _ZN6Winery7setYearEi
- aborting from js compiler due to exception: unknown vector type <4 x i8> | undefined
- aborting from js compiler due to exception: unknown vector type <4 x i8> | undefined
- aborting from js compiler due to exception: unknown vector type <4 x i8> | undefined
- Traceback (most recent call last):
- File "/usr/share/emscripten/emscripten.py", line 1352, in <module>
- _main(environ=os.environ)
- File "/usr/share/emscripten/emscripten.py", line 1340, in _main
- temp_files.run_and_clean(lambda: main(
- File "/usr/share/emscripten/tools/tempfiles.py", line 39, in run_and_clean
- return func()
- File "/usr/share/emscripten/emscripten.py", line 1348, in <lambda>
- DEBUG_CACHE=DEBUG_CACHE,
- File "/usr/share/emscripten/emscripten.py", line 1235, in main
- jcache=jcache, temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE)
- File "/usr/share/emscripten/emscripten.py", line 292, in emscript
- assert len(output) == 2, 'Did not receive forwarded data in an output - process failed? We only got: ' + output[0][-3000:]
- AssertionError: Did not receive forwarded data in an output - process failed? We only got: )==($88|0);
- if($89){label=25;break;}else{label=26;break;}
- case 25:
- var $91=$82;
- var $92=$82;
- var $93=HEAP32[(($92)>>2)];
- var $94=(($93+40)|0);
- var $95=HEAP32[(($94)>>2)];
- 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; }
- case 26:
- var $97=(($85+1)|0);
- HEAP32[(($84)>>2)]=$97;
- var $98=HEAP8[($85)];
- var $99=($98&255);
- var $_017=$99;label=28;break;
- case 27:
- var $100=($96|0)==-1;
- if($100){var $__err_0=2;label=29;break;}else{var $_017=$96;label=28;break;}
- case 28:
- var $_017;
- var $102=HEAP32[(($1)>>2)];
- var $103=((($102)+(1))|0);
- HEAP32[(($1)>>2)]=$103;
- var $104=($_017|0)==($__dlm|0);
- if($104){var $__err_0=0;label=29;break;}else{var $73=$103;label=23;break;}
- case 29:
- var $__err_0;
- var $105=HEAP32[(($2)>>2)];
- var $106=((($105)-(12))|0);
- var $107=$106;
- var $108=HEAP32[(($107)>>2)];
- var $109=(($7+$108)|0);
- var $110=$109;
- var $_sum=((($108)+(16))|0);
- var $111=(($7+$_sum)|0);
- var $112=$111;
- var $113=HEAP32[(($112)>>2)];
- var $114=$113|$__err_0;
- (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; }
- case 30:
- var $116$0 = ___cxa_find_matching_catch(-1, -1); var $116$1 = tempRet0;
- (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; }
- case 31:
- ___resumeException($116$0)
- case 32:
- var $119$0 = ___cxa_find_matching_catch(-1, -1,0); var $119$1 = tempRet0;
- var $120=$119$0;
- ___clang_call_terminate($120);
- throw "Reached an unreachable!";
- default: assert(0, "bad label: " + label);
- }
- }
- function __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev($this){
- var label=0;
- var $1=(($this+8)|0);
- __ZNSt3__18ios_baseD2Ev($1);
- var $2=$this;
- __ZdlPv($2);
- return;
- }
- function __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev($this){
- var label=0;
- var $1=(($this+8)|0);
- __ZNSt3__18ios_baseD2Ev($1);
- return;
- }
- function __ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev($this){
- var label=0;
- var $1=$this;
- var $2=$this;
- var $3=HEAP32[(($2)>>2)];
- var $4=((($3)-(12))|0);
- var $5=$4;
- var $6=HEAP32[(($5)>>2)];
- var $7=(($1+$6)|0);
- var $_sum=((($6)+(8))|0);
- var $8=(($1+$_sum)|0);
- var $9=$8;
- __ZNSt3__18ios_baseD2Ev($9);
- __ZdlPv($7);
- return;
- }
- function __ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev($this){
- var label=0;
- var $1=$this;
- var $2=$this;
- var $3=HEAP32[(($2)>>2)];
- var $4=((($3)-(12))|0);
- var $5=$4;
- var $6=HEAP32[(($5)>>2)];
- var $_sum=((($6)+(8))|0);
- var $7=(($1+$_sum)|0);
- var $8=$7;
- __ZNSt3__18ios_baseD2Ev($8);
- return;
- }
- Traceback (most recent call last):
- File "/usr/share/emscripten/emcc", line 1864, in <module>
- final = shared.Building.emscripten(final, append_ext=False, extra_args=extra_args)
- File "/usr/share/emscripten/tools/shared.py", line 1276, in emscripten
- assert os.path.exists(filename + '.o.js') and len(open(filename + '.o.js', 'r').read()) > 0, 'Emscripten failed to generate .js: ' + str(compiler_output)
- AssertionError: Emscripten failed to generate .js:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement