INFO: No output directory specified (--dir) INFO: Using directory: "Unit_test_logger_2D_kf_time_20250506_034359" INFO: Regenerating c-file: Unit_test_logger_2D_kf_time.c DEBUG: CMD: /home/runner/work/McCode/McCode/install_mcstas/bin/mcstas -t -o ./Unit_test_logger_2D_kf_time.c Unit_test_logger_2D_kf_time.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -DFUNNEL WARNING: The parameter format of powder is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component master is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master -> GPU kernel from component transmission ----------------------------------------------------------- DEBUG: CMD: /home/runner/work/McCode/McCode/install_mcstas/bin/mcstas finished INFO: Recompiling: ./Unit_test_logger_2D_kf_time.out DEBUG: CMD: mpicc -o ./Unit_test_logger_2D_kf_time.out ./Unit_test_logger_2D_kf_time.c -lm -DUSE_MPI -lmpi -O2 -g -DNDEBUG -I${CONDA_PREFIX}/include -Wl,-rpath,${CONDA_PREFIX}/lib -L${CONDA_PREFIX}/lib -fno-PIC -fPIE -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -DFUNNEL ./Unit_test_logger_2D_kf_time.c: In function ‘detector_import’: ./Unit_test_logger_2D_kf_time.c:2474:57: warning: ‘ ’ directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] 2474 | snprintf(detector.variables, CHAR_BUF_LENGTH, "%s %s %s_err N", detector.xvar, c, c); | ^ In file included from /usr/include/stdio.h:980, from ./Unit_test_logger_2D_kf_time.c:272: In function ‘snprintf’, inlined from ‘detector_import’ at ./Unit_test_logger_2D_kf_time.c:2474:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 9 or more bytes (assuming 1032) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘Open_File’: ./Unit_test_logger_2D_kf_time.c:15771:41: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 15771 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./Unit_test_logger_2D_kf_time.c:15771:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘Open_File’: ./Unit_test_logger_2D_kf_time.c:15786:41: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 15786 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./Unit_test_logger_2D_kf_time.c:15786:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘Open_File’: ./Unit_test_logger_2D_kf_time.c:15794:37: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 15794 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./Unit_test_logger_2D_kf_time.c:15794:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘Open_File’: ./Unit_test_logger_2D_kf_time.c:15800:35: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 15800 | snprintf(path, 1024, "%s%c%s%c%s", dir, MC_PATHSEP_C, "data", MC_PATHSEP_C, File); | ^~ ~~~~~~ In function ‘snprintf’, inlined from ‘Open_File’ at ./Unit_test_logger_2D_kf_time.c:15800:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 7 or more bytes (assuming 1030) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘Open_File’: ./Unit_test_logger_2D_kf_time.c:15806:35: warning: ‘%s’ directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 15806 | snprintf(path, 1024, "%s%c%s%c%s", dir, MC_PATHSEP_C, "contrib", MC_PATHSEP_C, File); | ^~ ~~~~~~~~~ In function ‘snprintf’, inlined from ‘Open_File’ at ./Unit_test_logger_2D_kf_time.c:15806:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 10 or more bytes (assuming 1033) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘off_display’: ./Unit_test_logger_2D_kf_time.c:18483:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 18483 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes 18483 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./Unit_test_logger_2D_kf_time.c:18483:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 1066 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘off_display’: ./Unit_test_logger_2D_kf_time.c:18483:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 18483 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes 18483 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./Unit_test_logger_2D_kf_time.c:18483:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 1066 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘off_display’: ./Unit_test_logger_2D_kf_time.c:18483:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 18483 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes 18483 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes ./Unit_test_logger_2D_kf_time.c:18483:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./Unit_test_logger_2D_kf_time.c:18483:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 1066 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_logger_2D_kf_time_save’: ./Unit_test_logger_2D_kf_time.c:27327:29: warning: ‘%s’ directive writing up to 15 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 27327 | sprintf(part_filename,"%s_%s",this_storage.Detector_3D.Filename,number_string); | ^~ In function ‘sprintf’, inlined from ‘class_Union_logger_2D_kf_time_save’ at ./Unit_test_logger_2D_kf_time.c:27327:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 272 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Incoherent_process_init’: ./Unit_test_logger_2D_kf_time.c:22100:40: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 22100 | sprintf(global_process_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Incoherent_process_init’ at ./Unit_test_logger_2D_kf_time.c:22100:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Powder_process_init’: ./Unit_test_logger_2D_kf_time.c:22270:40: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 22270 | sprintf(global_process_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Powder_process_init’ at ./Unit_test_logger_2D_kf_time.c:22270:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_make_material_init’: ./Unit_test_logger_2D_kf_time.c:22387:41: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 22387 | sprintf(global_material_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Union_make_material_init’ at ./Unit_test_logger_2D_kf_time.c:22387:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_box_init’: ./Unit_test_logger_2D_kf_time.c:22778:39: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 22778 | sprintf(global_geometry_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Union_box_init’ at ./Unit_test_logger_2D_kf_time.c:22778:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_sphere_init’: ./Unit_test_logger_2D_kf_time.c:23002:39: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 23002 | sprintf(global_geometry_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Union_sphere_init’ at ./Unit_test_logger_2D_kf_time.c:23002:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_cylinder_init’: ./Unit_test_logger_2D_kf_time.c:23251:39: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 23251 | sprintf(global_geometry_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Union_cylinder_init’ at ./Unit_test_logger_2D_kf_time.c:23251:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_cone_init’: ./Unit_test_logger_2D_kf_time.c:23520:39: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 23520 | sprintf(global_geometry_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Union_cone_init’ at ./Unit_test_logger_2D_kf_time.c:23520:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_logger_2D_kf_time_init’: ./Unit_test_logger_2D_kf_time.c:23722:46: warning: ‘%s’ directive writing up to 16383 bytes into a region of size 256 [-Wformat-overflow=] 23722 | sprintf(this_storage.Detector_3D.Filename,"%s",filename); | ^~ In function ‘sprintf’, inlined from ‘class_Union_logger_2D_kf_time_init’ at ./Unit_test_logger_2D_kf_time.c:23722:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 16384 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_logger_2D_kf_time_init’: ./Unit_test_logger_2D_kf_time.c:23757:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 23757 | sprintf(logger_list_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Union_logger_2D_kf_time_init’ at ./Unit_test_logger_2D_kf_time.c:23757:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./Unit_test_logger_2D_kf_time.c: In function ‘class_Union_master_init’: ./Unit_test_logger_2D_kf_time.c:24064:39: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 24064 | sprintf(global_master_element.name,"%s",NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_Union_master_init’ at ./Unit_test_logger_2D_kf_time.c:24064:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 1 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ DEBUG: CMD: mpicc finished INFO: ===