rtems-tools elftoolchain update
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Apr 30 06:19:05 UTC 2018
Hello Chris,
it builds on Linux (GCC 7.3.0) with the following warnings:
../rtemstoolkit/ConvertUTF.c: In function ‘ConvertUTF16toUTF8’:
../rtemstoolkit/ConvertUTF.c:270:65: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:271:6: note: here
case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
^~~~
../rtemstoolkit/ConvertUTF.c:271:65: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:272:6: note: here
case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
^~~~
../rtemstoolkit/ConvertUTF.c:272:65: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:273:6: note: here
case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]);
^~~~
../rtemstoolkit/ConvertUTF.c: In function ‘isLegalUTF8’:
../rtemstoolkit/ConvertUTF.c:301:42: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../rtemstoolkit/ConvertUTF.c:302:5: note: here
case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
^~~~
../rtemstoolkit/ConvertUTF.c:302:42: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../rtemstoolkit/ConvertUTF.c:303:5: note: here
case 2: if ((a = (*--srcptr)) > 0xBF) return false;
^~~~
../rtemstoolkit/ConvertUTF.c:311:20: warning: this statement may fall
through [-Wimplicit-fallthrough=]
default: if (a < 0x80) return false;
^
../rtemstoolkit/ConvertUTF.c:314:5: note: here
case 1: if (*source >= 0x80 && *source < 0xC2) return false;
^~~~
../rtemstoolkit/ConvertUTF.c: In function ‘ConvertUTF8toUTF16’:
../rtemstoolkit/ConvertUTF.c:357:34: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:358:6: note: here
case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
^~~~
../rtemstoolkit/ConvertUTF.c:358:34: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:359:6: note: here
case 3: ch += *source++; ch <<= 6;
^~~~
../rtemstoolkit/ConvertUTF.c:359:34: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 3: ch += *source++; ch <<= 6;
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:360:6: note: here
case 2: ch += *source++; ch <<= 6;
^~~~
../rtemstoolkit/ConvertUTF.c:360:34: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 2: ch += *source++; ch <<= 6;
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:361:6: note: here
case 1: ch += *source++; ch <<= 6;
^~~~
../rtemstoolkit/ConvertUTF.c:361:34: warning: this statement may fall
through [-Wimplicit-fallthrough=]
case 1: ch += *source++; ch <<= 6;
~~~^~~~~
../rtemstoolkit/ConvertUTF.c:362:6: note: here
case 0: ch += *source++;
^~~~
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list