Advertisement
Guest User

error

a guest
Dec 31st, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. Scanning dependencies of target wpiutil
  2. [ 1%] Building CXX object CMakeFiles/wpiutil.dir/wpiutil/src/llvm/ConvertUTF.cpp.o
  3. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF16toUTF8(const UTF16**, const UTF16*, UTF8**, UTF8*, ConversionFlags)’:
  4. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:275:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
  5. case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  6. ~~~^~~~~
  7. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:276:13: note: here
  8. case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  9. ^~~~
  10. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:276:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
  11. case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  12. ~~~^~~~~
  13. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:277:13: note: here
  14. case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  15. ^~~~
  16. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:277:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
  17. case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  18. ~~~^~~~~
  19. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:278:13: note: here
  20. case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]);
  21. ^~~~
  22. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF32toUTF8(const UTF32**, const UTF32*, UTF8**, UTF8*, ConversionFlags)’:
  23. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:328:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
  24. case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  25. ~~~^~~~~
  26. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:329:13: note: here
  27. case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  28. ^~~~
  29. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:329:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
  30. case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  31. ~~~^~~~~
  32. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:330:13: note: here
  33. case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  34. ^~~~
  35. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:330:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
  36. case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  37. ~~~^~~~~
  38. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:331:13: note: here
  39. case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]);
  40. ^~~~
  41. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘Boolean isLegalUTF8(const UTF8*, int)’:
  42. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:359:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
  43. case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
  44. ^~
  45. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:360:5: note: here
  46. case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
  47. ^~~~
  48. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:360:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
  49. case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
  50. ^~
  51. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:361:5: note: here
  52. case 2: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
  53. ^~~~
  54. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:369:24: error: this statement may fall through [-Werror=implicit-fallthrough=]
  55. default: if (a < 0x80) return false;
  56. ^~
  57. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:372:5: note: here
  58. case 1: if (*source >= 0x80 && *source < 0xC2) return false;
  59. ^~~~
  60. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF8toUTF16(const UTF8**, const UTF8*, UTF16**, UTF16*, ConversionFlags)’:
  61. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:534:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  62. case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  63. ~~~^~~~~
  64. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:535:13: note: here
  65. case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  66. ^~~~
  67. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:535:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  68. case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  69. ~~~^~~~~
  70. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:536:13: note: here
  71. case 3: ch += *source++; ch <<= 6;
  72. ^~~~
  73. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:536:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  74. case 3: ch += *source++; ch <<= 6;
  75. ~~~^~~~~
  76. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:537:13: note: here
  77. case 2: ch += *source++; ch <<= 6;
  78. ^~~~
  79. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:537:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  80. case 2: ch += *source++; ch <<= 6;
  81. ~~~^~~~~
  82. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:538:13: note: here
  83. case 1: ch += *source++; ch <<= 6;
  84. ^~~~
  85. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:538:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  86. case 1: ch += *source++; ch <<= 6;
  87. ~~~^~~~~
  88. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:539:13: note: here
  89. case 0: ch += *source++;
  90. ^~~~
  91. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF8toUTF32Impl(const UTF8**, const UTF8*, UTF32**, UTF32*, ConversionFlags, Boolean)’:
  92. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:638:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  93. case 5: ch += *source++; ch <<= 6;
  94. ~~~^~~~~
  95. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:639:13: note: here
  96. case 4: ch += *source++; ch <<= 6;
  97. ^~~~
  98. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:639:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  99. case 4: ch += *source++; ch <<= 6;
  100. ~~~^~~~~
  101. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:640:13: note: here
  102. case 3: ch += *source++; ch <<= 6;
  103. ^~~~
  104. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:640:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  105. case 3: ch += *source++; ch <<= 6;
  106. ~~~^~~~~
  107. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:641:13: note: here
  108. case 2: ch += *source++; ch <<= 6;
  109. ^~~~
  110. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:641:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  111. case 2: ch += *source++; ch <<= 6;
  112. ~~~^~~~~
  113. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:642:13: note: here
  114. case 1: ch += *source++; ch <<= 6;
  115. ^~~~
  116. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:642:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
  117. case 1: ch += *source++; ch <<= 6;
  118. ~~~^~~~~
  119. /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:643:13: note: here
  120. case 0: ch += *source++;
  121. ^~~~
  122. cc1plus: all warnings being treated as errors
  123. CMakeFiles/wpiutil.dir/build.make:62: recipe for target 'CMakeFiles/wpiutil.dir/wpiutil/src/llvm/ConvertUTF.cpp.o' failed
  124. make[2]: *** [CMakeFiles/wpiutil.dir/wpiutil/src/llvm/ConvertUTF.cpp.o] Error 1
  125. CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/wpiutil.dir/all' failed
  126. make[1]: *** [CMakeFiles/wpiutil.dir/all] Error 2
  127. Makefile:140: recipe for target 'all' failed
  128. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement