#include "utf.h"
#include <winpr/endian.h>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
static const int halfShift = 10; /* used for shifting by 10 bits */
static const DWORD halfBase = 0x0010000UL;
similarly unrolled loops.
--------------------------------------------------------------------- */
+#pragma GCC diagnostic pop
{
ch = format[offset++];
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
switch (ch)
{
case QUALIFIER_SPACE:
/* Bail out completely to make the error more obvious */
return TRIO_ERROR_RETURN(TRIO_EINVAL, offset);
}
+#pragma GCC diagnostic pop
+
} /* while qualifier */
parameter->endOffset = offset;
{
parameter->baseSpecifier = NO_BASE;
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
switch (format[offset++])
{
#if defined(SPECIFIER_CHAR_UPPER)
/* Bail out completely to make the error more obvious */
return TRIO_ERROR_RETURN(TRIO_EINVAL, offset);
}
+#pragma GCC diagnostic pop
parameter->endOffset = offset;