Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanning dependencies of target wpiutil
- [ 1%] Building CXX object CMakeFiles/wpiutil.dir/wpiutil/src/llvm/ConvertUTF.cpp.o
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF16toUTF8(const UTF16**, const UTF16*, UTF8**, UTF8*, ConversionFlags)’:
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:275:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:276:13: note: here
- case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:276:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:277:13: note: here
- case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:277:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:278:13: note: here
- case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]);
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF32toUTF8(const UTF32**, const UTF32*, UTF8**, UTF8*, ConversionFlags)’:
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:328:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:329:13: note: here
- case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:329:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:330:13: note: here
- case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:330:72: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:331:13: note: here
- case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]);
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘Boolean isLegalUTF8(const UTF8*, int)’:
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:359:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
- ^~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:360:5: note: here
- case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:360:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
- ^~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:361:5: note: here
- case 2: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:369:24: error: this statement may fall through [-Werror=implicit-fallthrough=]
- default: if (a < 0x80) return false;
- ^~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:372:5: note: here
- case 1: if (*source >= 0x80 && *source < 0xC2) return false;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF8toUTF16(const UTF8**, const UTF8*, UTF16**, UTF16*, ConversionFlags)’:
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:534:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:535:13: note: here
- case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:535:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:536:13: note: here
- case 3: ch += *source++; ch <<= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:536:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 3: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:537:13: note: here
- case 2: ch += *source++; ch <<= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:537:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 2: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:538:13: note: here
- case 1: ch += *source++; ch <<= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:538:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 1: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:539:13: note: here
- case 0: ch += *source++;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp: In function ‘ConversionResult ConvertUTF8toUTF32Impl(const UTF8**, const UTF8*, UTF32**, UTF32*, ConversionFlags, Boolean)’:
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:638:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 5: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:639:13: note: here
- case 4: ch += *source++; ch <<= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:639:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 4: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:640:13: note: here
- case 3: ch += *source++; ch <<= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:640:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 3: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:641:13: note: here
- case 2: ch += *source++; ch <<= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:641:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 2: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:642:13: note: here
- case 1: ch += *source++; ch <<= 6;
- ^~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:642:41: error: this statement may fall through [-Werror=implicit-fallthrough=]
- case 1: ch += *source++; ch <<= 6;
- ~~~^~~~~
- /8029/ntcore/wpiutil/src/llvm/ConvertUTF.cpp:643:13: note: here
- case 0: ch += *source++;
- ^~~~
- cc1plus: all warnings being treated as errors
- CMakeFiles/wpiutil.dir/build.make:62: recipe for target 'CMakeFiles/wpiutil.dir/wpiutil/src/llvm/ConvertUTF.cpp.o' failed
- make[2]: *** [CMakeFiles/wpiutil.dir/wpiutil/src/llvm/ConvertUTF.cpp.o] Error 1
- CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/wpiutil.dir/all' failed
- make[1]: *** [CMakeFiles/wpiutil.dir/all] Error 2
- Makefile:140: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement