Linux uptown 6.9.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.10-1 (2024-07-19) x86_64 GNU/Linux chuck version: 1.5.2.6-dev (chai) Linux | 64-bit audio drivers: ALSA | PulseAudio | JACK http://chuck.cs.princeton.edu/ http://chuck.stanford.edu/ [ 83%] Building CXX object renderer/CMakeFiles/renderer.dir/RendererState.cpp.o [ 83%] Building CXX object renderer/CMakeFiles/renderer.dir/Shader.cpp.o [ 83%] Building CXX object renderer/CMakeFiles/renderer.dir/ShaderCode.cpp.o [ 84%] Building CXX object renderer/CMakeFiles/renderer.dir/Texture.cpp.o In file included from /home/d/chuck-1.5.2.6/chuck-main/chugl-main/src/renderer/Texture.cpp:6: /home/d/chuck-1.5.2.6/chuck-main/chugl-main/src/./vendor/stb/stb_image.h: In function ‘int stbi__parse_png_file(stbi__png*, int, int)’: /home/d/chuck-1.5.2.6/chuck-main/chugl-main/src/./vendor/stb/stb_image.h:5224:58: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 5224 | for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/d/chuck-1.5.2.6/chuck-main/chugl-main/src/./vendor/stb/stb_image.h:5137:28: note: at offset 3 into destination object ‘tc’ of size 3 5137 | stbi_uc has_trans = 0, tc[3] = { 0 }; | ^~ cc1plus: all warnings being treated as errors gmake[3]: *** [renderer/CMakeFiles/renderer.dir/build.make:173: renderer/CMakeFiles/renderer.dir/Texture.cpp.o] Error 1 gmake[3]: Leaving directory '/home/d/chuck-1.5.2.6/chuck-main/chugl-main/src/build-release' gmake[2]: *** [CMakeFiles/Makefile2:438: renderer/CMakeFiles/renderer.dir/all] Error 2 gmake[2]: Leaving directory '/home/d/chuck-1.5.2.6/chuck-main/chugl-main/src/build-release' gmake[1]: *** [Makefile:156: all] Error 2 gmake[1]: Leaving directory '/home/d/chuck-1.5.2.6/chuck-main/chugl-main/src/build-release' make: *** [makefile:27: linux] Error 2
participants (1)
-
d