Guest User

Untitled

a guest
Jan 19th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. In file included from /work/a/ports/www/firefox/work/mozilla-release/js/src/xpconnect/src/dom_quickstubs.cpp:7:
  2. In file included from ../../../../js/src/nanojit/nanojit.h:366:
  3. ../../../../js/src/nanojit/RegAlloc.h:183:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Register' (aka 'unsigned int') in initializer list
  4. Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) };
  5. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. ../../../../js/src/nanojit/RegAlloc.h:183:24: note: override this message by inserting an explicit cast
  7. Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) };
  8. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9. static_cast<Register>( )
  10. ../../../../js/src/nanojit/RegAlloc.h:191:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Register' (aka 'unsigned int') in initializer list
  11. Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) };
  12. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13. ../../../../js/src/nanojit/RegAlloc.h:191:24: note: override this message by inserting an explicit cast
  14. Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) };
  15. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16. static_cast<Register>( )
  17.  
  18.  
  19. ----
  20. In file included from /work/a/ports/www/firefox/work/mozilla-release/js/src/xpconnect/src/dom_quickstubs.cpp:239:
  21. ../../../../dist/include/CustomQS_WebGL.h:1135:1: error: non-constant-expression cannot be narrowed from type 'intptr_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer list
  22. JS_DEFINE_TRCINFO_1(nsIDOMWebGLRenderingContext_Uniform1iv,
  23. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  24. ../../../../js/src/jsbuiltins.h:509:5: note: expanded from:
  25. _JS_DEFINE_CALLINFO_n tn0 \
  26. ^
  27. ../../../../js/src/jsbuiltins.h:548:60: note: expanded from:
  28. #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args
  29. ^
  30. <scratch space>:149:1: note: expanded from:
  31. JS_DEFINE_CALLINFO_4
  32. ^
  33. ../../../../js/src/jsbuiltins.h:361:5: note: expanded from:
  34. _JS_DEFINE_CALLINFO(linkage, op, \
  35. ^
  36. ../../../../js/src/jsbuiltins.h:294:11: note: expanded from:
  37. { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
  38. ^~~~~~~~~~~~~~~~
  39. ../../../../dist/include/CustomQS_WebGL.h:1135:1: note: override this message by inserting an explicit cast
  40. JS_DEFINE_TRCINFO_1(nsIDOMWebGLRenderingContext_Uniform1iv,
  41. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. ../../../../js/src/jsbuiltins.h:509:5: note: expanded from:
  43. _JS_DEFINE_CALLINFO_n tn0 \
  44. ^
  45. ../../../../js/src/jsbuiltins.h:548:60: note: expanded from:
  46. #define _JS_DEFINE_CALLINFO_n(n, args) JS_DEFINE_CALLINFO_##n args
  47. ^
  48. <scratch space>:149:1: note: expanded from:
  49. JS_DEFINE_CALLINFO_4
  50. ^
  51. ../../../../js/src/jsbuiltins.h:361:5: note: expanded from:
  52. _JS_DEFINE_CALLINFO(linkage, op, \
  53. ^
  54. ../../../../js/src/jsbuiltins.h:294:11: note: expanded from:
  55. { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
  56. ^~~~~~~~~~~~~~~~
Add Comment
Please, Sign In to add comment