misleading-indentation errors in stb_image.h
FAILED: glow/extern/stb/CMakeFiles/stb.dir/stb-impl.cc.o
/usr/bin/g++ -Dstb_EXPORTS -I/home/cmattes/Coding/glow-samples/glow/extern/stb/. -g -fPIC -Wall -Werror -std=c++11 -MMD -MT glow/extern/stb/CMakeFiles/stb.dir/stb-impl.cc.o -MF glow/extern/stb/CMakeFiles/stb.dir/stb-impl.cc.o.d -o glow/extern/stb/CMakeFiles/stb.dir/stb-impl.cc.o -c /home/cmattes/Coding/glow-samples/glow/extern/stb/stb-impl.cc
In file included from /home/cmattes/Coding/glow-samples/glow/extern/stb/stb-impl.cc:2:0:
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h: In function 'unsigned char* stbi__convert_format(unsigned char*, int, int, unsigned int, unsigned int)':
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1363:10: note: in expansion of macro 'CASE'
CASE(1,2) dest[0]=src[0], dest[1]=255; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1363:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(1,2) dest[0]=src[0], dest[1]=255; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1364:10: note: in expansion of macro 'CASE'
CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1364:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1365:10: note: in expansion of macro 'CASE'
CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1365:65: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1366:10: note: in expansion of macro 'CASE'
CASE(2,1) dest[0]=src[0]; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1366:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(2,1) dest[0]=src[0]; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1367:10: note: in expansion of macro 'CASE'
CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1367:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1368:10: note: in expansion of macro 'CASE'
CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1368:68: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1369:10: note: in expansion of macro 'CASE'
CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1369:78: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1370:10: note: in expansion of macro 'CASE'
CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1370:67: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1371:10: note: in expansion of macro 'CASE'
CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1371:82: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1372:10: note: in expansion of macro 'CASE'
CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1372:67: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1373:10: note: in expansion of macro 'CASE'
CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1373:85: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1359:44: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
#define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1374:10: note: in expansion of macro 'CASE'
CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:1374:66: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h: In function 'int stbi__create_png_image_raw(stbi__png*, stbi_uc*, stbi__uint32, int, stbi__uint32, stbi__uint32, int, int)':
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4049:17: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < nk; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4053:13: note: in expansion of macro 'CASE'
CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4053:95: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4049:17: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < nk; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4054:13: note: in expansion of macro 'CASE'
CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4054:84: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4049:17: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < nk; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4055:13: note: in expansion of macro 'CASE'
CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4055:113: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4049:17: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < nk; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4056:13: note: in expansion of macro 'CASE'
CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4056:139: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4049:17: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < nk; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4057:13: note: in expansion of macro 'CASE'
CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4057:102: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4049:17: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < nk; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4058:13: note: in expansion of macro 'CASE'
CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4058:112: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4067:20: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < img_n; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4069:13: note: in expansion of macro 'CASE'
CASE(STBI__F_none) cur[k] = raw[k]; break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4069:57: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_none) cur[k] = raw[k]; break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4067:20: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < img_n; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4070:13: note: in expansion of macro 'CASE'
CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4070:88: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4067:20: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < img_n; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4071:13: note: in expansion of macro 'CASE'
CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4071:84: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4067:20: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < img_n; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4072:13: note: in expansion of macro 'CASE'
CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4072:106: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4067:20: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < img_n; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4073:13: note: in expansion of macro 'CASE'
CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4073:125: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4067:20: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < img_n; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4074:13: note: in expansion of macro 'CASE'
CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4074:95: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break;
^~~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4067:20: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (k=0; k < img_n; ++k)
^
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4075:13: note: in expansion of macro 'CASE'
CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break;
^~~~
/home/cmattes/Coding/glow-samples/glow/extern/stb/stb/stb_image.h:4075:105: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break;
^~~~~
cc1plus: all warnings being treated as errors
[3/91 0.0/sec] Linking CXX shared library AntTweakBar/libAntTweakBar.so
used g++ (GCC) 6.1.1 20160501