Running phase: unpackPhase unpacking source archive /nix/store/9f3mwlmdsvabpbry3hz6mb69wlpvdymd-source source root is source Running phase: patchPhase applying patch /nix/store/sv9iafpm3dl1v3190k3lrvi82hidlmwf-set-python-sys-path.patch patching file fontforge/python.c Hunk #1 succeeded at 20640 (offset 1064 lines). applying patch /nix/store/l998v4v1sgjc60f0d2cs6wkfldysj7n1-CVE-2025-15279_1.patch patching file gutils/gimagereadbmp.c applying patch /nix/store/b67zzqpk6mbyyajh31ihnf0w2m6z7mfc-CVE-2025-15279_2.patch patching file gutils/gimagereadbmp.c applying patch /nix/store/4s0vag3d76cjzxdhsypv62npbx91svb4-CVE-2025-15275.patch patching file fontforge/sfd.c Hunk #1 succeeded at 3585 (offset -68 lines). applying patch /nix/store/hpip158jpqlh9pgrvf1qzh6dv4lzxvm7-CVE-2025-15269.patch patching file fontforge/sfd.c Hunk #1 succeeded at 4647 (offset -68 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/doc/fontforge -DCMAKE_INSTALL_INFODIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/include -DCMAKE_INSTALL_SBINDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib -DCMAKE_STRIP=/nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/ranlib -DCMAKE_AR=/nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DENABLE_LIBSPIRO=OFF -DENABLE_GUI=OFF -DENABLE_X11=ON -DPython3_EXECUTABLE=/nix/store/lh6qfng8cvp7b2r0ivmh0pnjr0wn0v93-python3-3.14.10-env/bin/python3.14 -DENABLE_FONTFORGE_EXTRAS=ON CMake Warning (deprecated) at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is GNU 16.2.0 -- The CXX compiler identification is GNU 16.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/ii6p6kc1brz3vycqg88q4zb4xd2dmqwp-gcc-wrapper-16.2.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Checking if -Wall is supported by the C compiler... -- Flag is supported: -Wall -- Checking if -Werror=implicit-function-declaration is supported by the C compiler... -- Flag is supported: -Werror=implicit-function-declaration -- Checking if -Werror=int-conversion is supported by the C compiler... -- Flag is supported: -Werror=int-conversion -- Checking if -Wno-misleading-indentation is supported by the C compiler... -- Flag is supported: -Wno-misleading-indentation -- Found PkgConfig: /nix/store/mhq8zg6nwlv2fjhqac0ikvl9f541irp3-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") -- Found Freetype: /nix/store/jxnr29sqd3ir058jlnf49ay0n2xispkm-freetype-2.14.3/lib/libfreetype.so (found suitable version "2.14.3", minimum required is "2.3.7") -- Found Gettext: /nix/store/5fqzqh8jg38w6m3xn76gymn44n0n5bwm-gettext-1.0/bin/msgmerge (found version "1.0") -- Found Intl: built in to C library Package sysprof-capture-4 was not found in the pkg-config search path. Perhaps you should add the directory containing `sysprof-capture-4.pc' to the PKG_CONFIG_PATH environment variable Package 'sysprof-capture-4', required by 'glib-2.0', not found Package sysprof-capture-4 was not found in the pkg-config search path. Perhaps you should add the directory containing `sysprof-capture-4.pc' to the PKG_CONFIG_PATH environment variable Package 'sysprof-capture-4', required by 'glib-2.0', not found Package sysprof-capture-4 was not found in the pkg-config search path. Perhaps you should add the directory containing `sysprof-capture-4.pc' to the PKG_CONFIG_PATH environment variable Package 'sysprof-capture-4', required by 'glib-2.0', not found Package sysprof-capture-4 was not found in the pkg-config search path. Perhaps you should add the directory containing `sysprof-capture-4.pc' to the PKG_CONFIG_PATH environment variable Package 'sysprof-capture-4', required by 'glib-2.0', not found -- Found GLIB: /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0;/nix/store/ym8di3nkjhy54avbwq7wjcyslsb7jl8l-glib-2.90.0/lib/glib-2.0/include (found suitable version "2.90.0", minimum required is "2.6") -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: built in to C library -- Found LibXml2: /nix/store/wa7a9r7b6asfir8r8wdp7wbzx3dj8qhm-libxml2-2.15.4/lib/libxml2.so (found version "2.15.4") -- Found MathLib: /nix/store/r3hvhzl5fxhrgn0rfy5g7rda17702pj4-glibc-2.44-57/lib/libm.so -- Found ZLIB: /nix/store/kp68n1q6r8lzpf5mxjmfasn3zq2pql4x-zlib-1.3.2/lib/libz.so (found version "1.3.2") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Python3: /nix/store/lh6qfng8cvp7b2r0ivmh0pnjr0wn0v93-python3-3.14.10-env/bin/python3.14 (found suitable version "3.14.10", minimum required is "3.8") found components: Development Interpreter Development.Module Development.Embed -- Could NOT find Sphinx (missing: Sphinx_BUILD_BINARY) -- Found GIF: /nix/store/w4cjyk294i1h68z75z46dgws7hmma7m6-giflib-6.1.3/lib/libgif.so (found version "6.1.3") -- Found JPEG: /nix/store/f0lfryjpy65fwszpgih3fjqs2s9cvja5-libjpeg-turbo-3.2.0/lib/libjpeg.so (found version "62") -- Found PNG: /nix/store/d7pn11xv3qyfdfx33fgwvcqlnxhlnhpj-libpng-apng-1.6.59/lib/libpng.so (found version "1.6.59") -- Found Readline: /nix/store/gcqlkmpa270r883jdjiga7qccryq76x2-readline-8.3p3/lib/libreadline.so (found version "8.3") -- Found TIFF: /nix/store/j07c4mk20qzn862p6g8y6qzaypyxbcwf-libtiff-4.7.2-dev/lib/cmake/tiff (found version "4.7.2") -- Found WOFF2: woff2enc;brotlienc;woff2dec;brotlidec (found version "1.0.2") -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for ieeefp.h -- Looking for ieeefp.h - not found -- Looking for realpath -- Looking for realpath - found -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Build options: -- CMAKE_BUILD_TYPE = Release -- BUILD_SHARED_LIBS = ON -- ENABLE_GUI = OFF -- ENABLE_NATIVE_SCRIPTING = ON -- ENABLE_PYTHON_SCRIPTING = ON -- ENABLE_PYTHON_EXTENSION = AUTO => ON -- ENABLE_LIBSPIRO = OFF -- ENABLE_LIBGIF = AUTO => ON -- ENABLE_LIBJPEG = AUTO => ON -- ENABLE_LIBPNG = AUTO => ON -- ENABLE_LIBREADLINE = AUTO => ON -- ENABLE_LIBTIFF = AUTO => ON -- ENABLE_WOFF2 = AUTO => ON -- ENABLE_HARFBUZZ = AUTO -- ENABLE_DOCS = AUTO => OFF -- ENABLE_CODE_COVERAGE = OFF -- ENABLE_DEBUG_RAW_POINTS = OFF -- ENABLE_FONTFORGE_EXTRAS = ON -- ENABLE_MAINTAINER_TOOLS = OFF -- ENABLE_TILE_PATH = OFF -- ENABLE_WRITE_PFM = OFF -- ENABLE_SANITIZER = none -- ENABLE_FREETYPE_DEBUGGER = -- SPHINX_USE_VENV = OFF -- REAL_TYPE = double -- GUI_THEME = tango -- FONT_FAMILIES_SERIF = default -- FONT_FAMILIES_UI = default -- FONT_FAMILIES_LABEL = default -- FONT_FAMILIES_MONO = default -- Configuring done (6.1s) -- Generating done (0.1s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY ENABLE_X11 -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j32 SHELL=/nix/store/hasnvc0j36gg6qrdsfcx7yivx3c2bpqr-bash-5.3p20/bin/bash [ 1%] Building C object Unicode/CMakeFiles/gunicode.dir/ArabicForms.c.o [ 1%] Building C object contrib/fonttools/CMakeFiles/dewoff.dir/dewoff.c.o [ 2%] Building C object contrib/fonttools/CMakeFiles/showttf.dir/showttf.c.o [ 2%] Building C object Unicode/CMakeFiles/gunicode.dir/char.c.o [ 2%] Building C object contrib/fonttools/CMakeFiles/pfadecrypt.dir/pfadecrypt.c.o [ 3%] Building C object contrib/fonttools/CMakeFiles/rmligamarks.dir/rmligamarks.c.o [ 4%] Building C object contrib/fonttools/CMakeFiles/stripttc.dir/stripttc.c.o [ 5%] Building C object Unicode/CMakeFiles/gunicode.dir/ustring.c.o [ 5%] Building C object Unicode/CMakeFiles/gunicode.dir/ucharmap.c.o [ 7%] Building C object Unicode/CMakeFiles/gunicode.dir/unialt.c.o [ 7%] Building C object contrib/fonttools/CMakeFiles/woff.dir/woff.c.o [ 7%] Building C object contrib/fonttools/CMakeFiles/findtable.dir/findtable.c.o [ 7%] Building C object Unicode/CMakeFiles/gunicode.dir/uninames.c.o [ 8%] Building C object contrib/fonttools/CMakeFiles/pcl2ttf.dir/pcl2ttf.c.o [ 8%] Building C object Unicode/CMakeFiles/gunicode.dir/memory.c.o [ 10%] Generating de.mo [ 10%] Generating ca.mo [ 10%] Generating el.mo [ 11%] Generating en_GB.mo [ 11%] Generating ja.mo [ 11%] Building C object Unicode/CMakeFiles/gunicode.dir/utype.c.o [ 11%] Generating es.mo [ 11%] Generating ko.mo [ 12%] Generating fr.mo [ 12%] Generating hr.mo [ 13%] Generating ka_GE.mo [ 14%] Generating ml.mo [ 15%] Generating it.mo [ 15%] Generating pl.mo [ 15%] Generating tr_TR.mo [ 16%] Generating pt.mo [ 16%] Generating vi.mo [ 16%] Generating ru.mo [ 17%] Generating uk.mo [ 18%] Generating th_TH.mo [ 20%] Generating zh_CN.mo /build/source/contrib/fonttools/findtable.c: In function 'readttfheader': /build/source/contrib/fonttools/findtable.c:40:22: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 40 | ttcoffsets = calloc(ttccnt,sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/source/contrib/fonttools/findtable.c:4: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ [ 20%] Generating zh_TW.mo In function 'copytable', inlined from 'handlefont' at /build/source/contrib/fonttools/stripttc.c:113:2: /build/source/contrib/fonttools/stripttc.c:62:8: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized] 62 | if ( ch==EOF ) | ^ /build/source/contrib/fonttools/stripttc.c: In function 'handlefont': /build/source/contrib/fonttools/stripttc.c:57:12: note: 'ch' was declared here 57 | int i, ch; | ^~ [ 20%] Linking C executable ../../bin/rmligamarks [ 21%] Linking C executable ../../bin/findtable /build/source/contrib/fonttools/showttf.c: In function 'read_statetable': /build/source/contrib/fonttools/showttf.c:3960:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3960 | fread(st->classes,1,st->nglyphs,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/showttf.c:4030:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 4030 | fread(st->state_table,1,st->nstates*st->nclasses,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/showttf.c:4036:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 4036 | fread(st->transitions,1,st->nentries*st->entry_size,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'handlefile', inlined from 'main' at /build/source/contrib/fonttools/stripttc.c:176:12: /build/source/contrib/fonttools/stripttc.c:156:15: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 156 | offsets = malloc(cnt*sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/source/contrib/fonttools/stripttc.c:2: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'main': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/pcl2ttf.c: In function 'readheaderformat': /build/source/contrib/fonttools/pcl2ttf.c:311:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 311 | fscanf(pcl,"%d", &hdr->header_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c: In function 'readheaderttf': /build/source/contrib/fonttools/pcl2ttf.c:381:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 381 | fread(hdr->copyright,1,seg_size,pcl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c:385:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 385 | fread(hdr->charcompl,1,8,pcl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c:390:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 390 | fread(hdr->panose,1,10,pcl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c: In function 'slurpglyph': /build/source/contrib/fonttools/pcl2ttf.c:162:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | fscanf(pcl,"%d", &unicode ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c:172:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | fscanf(pcl,"%d", &size ); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c:207:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | fscanf(pcl,"%d", &size ); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c: In function 'slurpbdf_glyph': /build/source/contrib/fonttools/pcl2ttf.c:1260:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1260 | fscanf(pcl,"%d", &encoding ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/pcl2ttf.c:1270:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | fscanf(pcl,"%d", &size ); | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 21%] Built target pofiles [ 21%] Linking C executable ../../bin/stripttc [ 21%] Built target rmligamarks [ 22%] Linking C executable ../../bin/dewoff [ 22%] Built target findtable [ 22%] Built target stripttc [ 22%] Built target dewoff [ 23%] Linking C executable ../../bin/woff In function 'decrypteexec', inlined from 'doubledecrypt' at /build/source/contrib/fonttools/pfadecrypt.c:454:2, inlined from 'main' at /build/source/contrib/fonttools/pfadecrypt.c:478:6: /build/source/contrib/fonttools/pfadecrypt.c:312:13: warning: 'sect_len' may be used uninitialized [-Wmaybe-uninitialized] 312 | --sect_len; | ^~~~~~~~~~ /build/source/contrib/fonttools/pfadecrypt.c: In function 'main': /build/source/contrib/fonttools/pfadecrypt.c:278:9: note: 'sect_len' was declared here 278 | int sect_len; | ^~~~~~~~ [ 23%] Built target woff [ 24%] Linking C executable ../../bin/pfadecrypt [ 24%] Built target pfadecrypt [ 24%] Built target gunicode [ 25%] Building C object gutils/CMakeFiles/gutils.dir/fsys.c.o [ 25%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadbmp.c.o [ 25%] Building C object gutils/CMakeFiles/gutils.dir/gimage.c.o [ 26%] Building C object gutils/CMakeFiles/gutils.dir/dlist.c.o [ 26%] Building C object gutils/CMakeFiles/gutils.dir/gimageread.c.o [ 27%] Building C object gutils/CMakeFiles/gutils.dir/gcol.c.o [ 28%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadgif.c.o [ 30%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadpng.c.o [ 30%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadjpeg.c.o [ 30%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadras.c.o [ 31%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadtiff.c.o [ 31%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadrgb.c.o [ 32%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadxbm.c.o [ 32%] Building C object gutils/CMakeFiles/gutils.dir/gimagereadxpm.c.o [ 33%] Building C object gutils/CMakeFiles/gutils.dir/gimagewritebmp.c.o [ 33%] Building C object gutils/CMakeFiles/gutils.dir/gimagewritegimage.c.o [ 34%] Building C object gutils/CMakeFiles/gutils.dir/gimagewritejpeg.c.o [ 34%] Building C object gutils/CMakeFiles/gutils.dir/gimagewritepng.c.o [ 35%] Building C object gutils/CMakeFiles/gutils.dir/gimagewritexbm.c.o [ 36%] Building C object gutils/CMakeFiles/gutils.dir/gutils.c.o [ 36%] Building C object gutils/CMakeFiles/gutils.dir/gimagewritexpm.c.o [ 36%] Building C object gutils/CMakeFiles/gutils.dir/gwwintl.c.o [ 37%] Building C object gutils/CMakeFiles/gutils.dir/prefs.c.o /build/source/gutils/gimagereadxbm.c: In function 'GImageReadXbm': /build/source/gutils/gimagereadxbm.c:121:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 121 | fscanf(file,","); | ^~~~~~~~~~~~~~~~ /build/source/gutils/gimagereadrgb.c: In function 'GImageReadRgb': /build/source/gutils/gimagereadrgb.c:252:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 252 | fread(base->data + (header.height-1-i)*base->bytes_per_line,header.width,1,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/gutils/gimagereadrgb.c:306:21: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 306 | fread(a,header.width,1,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/gutils/gimagereadrgb.c:307:21: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | fread(a,header.width,1,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/gutils/gimagereadbmp.c: In function 'readpixels': /build/source/gutils/gimagereadbmp.c:175:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fread(head->byte_pixels+i*ll,1,ll,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38%] Linking C executable ../../bin/pcl2ttf [ 38%] Built target pcl2ttf /build/source/contrib/fonttools/showttf.c: In function 'showfeaturelist': /build/source/contrib/fonttools/showttf.c:2286:30: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2286 | feature_record_offsets = malloc(cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/source/contrib/fonttools/showttf.c:7: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2287:28: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2287 | feature_record_names = malloc(cnt*sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2311:22: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2311 | lu_offsets = malloc(lu_cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2311:22: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2311 | lu_offsets = malloc(lu_cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c: In function 'showscriptlist': /build/source/contrib/fonttools/showttf.c:2255:20: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2255 | ls_names = malloc(ls_cnt*sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2256:22: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2256 | ls_offsets = malloc(ls_cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2233:28: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2233 | script_table_offsets = malloc(cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2234:26: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2234 | script_table_names = malloc(cnt*sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ [ 38%] Built target gutils [ 38%] Building C object fontforge/CMakeFiles/fontforge.dir/activeinui.c.o [ 40%] Building C object fontforge/CMakeFiles/fontforge.dir/autotrace.c.o [ 40%] Building C object fontforge/CMakeFiles/fontforge.dir/autowidth.c.o [ 41%] Building C object fontforge/CMakeFiles/fontforge.dir/asmfpst.c.o [ 43%] Building C object fontforge/CMakeFiles/fontforge.dir/autosave.c.o [ 43%] Building C object fontforge/CMakeFiles/fontforge.dir/bezctx_ff.c.o [ 43%] Building C object fontforge/CMakeFiles/fontforge.dir/autowidth2.c.o [ 43%] Building C object fontforge/CMakeFiles/fontforge.dir/bvedit.c.o [ 44%] Building C object fontforge/CMakeFiles/fontforge.dir/bitmapcontrol.c.o [ 44%] Building C object fontforge/CMakeFiles/fontforge.dir/crctab.c.o [ 44%] Building C object fontforge/CMakeFiles/fontforge.dir/bitmapchar.c.o [ 45%] Building C object fontforge/CMakeFiles/fontforge.dir/cvexport.c.o [ 45%] Building C object fontforge/CMakeFiles/fontforge.dir/autohint.c.o [ 46%] Building C object fontforge/CMakeFiles/fontforge.dir/cvundoes.c.o [ 47%] Building C object fontforge/CMakeFiles/fontforge.dir/clipnoui.c.o [ 47%] Building C object fontforge/CMakeFiles/fontforge.dir/cvimages.c.o [ 47%] Building C object fontforge/CMakeFiles/fontforge.dir/dumpbdf.c.o [ 48%] Building C object fontforge/CMakeFiles/fontforge.dir/encoding.c.o [ 48%] Building C object fontforge/CMakeFiles/fontforge.dir/effects.c.o [ 50%] Building C object fontforge/CMakeFiles/fontforge.dir/dumppfa.c.o [ 50%] Building C object fontforge/CMakeFiles/fontforge.dir/featurefile.c.o [ 51%] Building C object fontforge/CMakeFiles/fontforge.dir/flaglist.c.o [ 51%] Building C object fontforge/CMakeFiles/fontforge.dir/fontviewbase.c.o [ 52%] Building C object fontforge/CMakeFiles/fontforge.dir/freetype.c.o [ 52%] Building C object fontforge/CMakeFiles/fontforge.dir/fvmetrics.c.o [ 53%] Building C object fontforge/CMakeFiles/fontforge.dir/fvcomposite.c.o [ 53%] Building C object fontforge/CMakeFiles/fontforge.dir/ftdelta.c.o [ 53%] Building C object fontforge/CMakeFiles/fontforge.dir/fvfonts.c.o [ 54%] Building C object fontforge/CMakeFiles/fontforge.dir/getline.c.o [ 54%] Building C object fontforge/CMakeFiles/fontforge.dir/glif_name_hash.c.o [ 55%] Building C object fontforge/CMakeFiles/fontforge.dir/fvimportbdf.c.o [ 56%] Building C object fontforge/CMakeFiles/fontforge.dir/glyphcomp.c.o [ 56%] Building C object fontforge/CMakeFiles/fontforge.dir/groups.c.o /build/source/contrib/fonttools/showttf.c: In function 'showCoverageTable': /build/source/contrib/fonttools/showttf.c:2357:33: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 2357 | if ( specified_cnt>=0 && cnt!=specified_cnt ) | ~~~^~~~~~~~~~~~~~~ /build/source/contrib/fonttools/showttf.c:2323:17: note: 'cnt' was declared here 2323 | int format, cnt, i,j, rcnt; | ^~~ [ 57%] Building C object fontforge/CMakeFiles/fontforge.dir/ikarus.c.o /build/source/contrib/fonttools/showttf.c: In function 'gsubMultipleSubTable': /build/source/contrib/fonttools/showttf.c:2606:19: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2606 | seq_offsets = malloc(cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ [ 57%] Building C object fontforge/CMakeFiles/fontforge.dir/langfreq.c.o [ 58%] Building C object fontforge/CMakeFiles/fontforge.dir/lookups.c.o /build/source/fontforge/autotrace.c: In function '_SCAutoTrace': /build/source/fontforge/autotrace.c:423:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 423 | chdir(tempname); | ^~~~~~~~~~~~~~~ /build/source/fontforge/autotrace.c: In function 'SFFromMF': /build/source/fontforge/autotrace.c:798:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 798 | chdir(tempdir); | ^~~~~~~~~~~~~~ /build/source/contrib/fonttools/showttf.c: In function 'gsubAlternateSubTable': /build/source/contrib/fonttools/showttf.c:2634:19: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2634 | seq_offsets = malloc(cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c: In function 'gsubLigatureSubTable': /build/source/contrib/fonttools/showttf.c:2670:23: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2670 | lig_offsets = malloc(lig_cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2662:18: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2662 | ls_offsets = malloc(cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ [ 58%] Building C object fontforge/CMakeFiles/fontforge.dir/macbinary.c.o /build/source/contrib/fonttools/showttf.c: In function 'showgpossublookups.constprop': /build/source/contrib/fonttools/showttf.c:2809:18: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2809 | lu_offsets = malloc(lu_cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/fontforge/cvimages.c: In function 'SCImportPlateFile': /build/source/fontforge/cvimages.c:254:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 254 | fgets(buffer,sizeof(buffer),plate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'SCImportFig': /build/source/fontforge/cvimages.c:886:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 886 | fgets(buffer,sizeof(buffer),fig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurpcompoundguts': /build/source/fontforge/cvimages.c:835:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 835 | fscanf(fig,"%d",&oc); | ^~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurpcompound': /build/source/fontforge/cvimages.c:452:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 452 | fscanf(fig, "%*d %*d %*d %*d" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurpelipse': /build/source/fontforge/cvimages.c:539:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 539 | fscanf(fig, "%d %*d %*d %*d %*d %*d %*d %*d %*f %d %f %d %d %d %d %*d %*d %*d %*d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 540 | &sub, &dir, &angle, &cx, &cy, &rx, &ry ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurparc': /build/source/fontforge/cvimages.c:485:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 485 | fscanf(fig, "%d %*d %*d %*d %*d %*d %*d %*d %*f %*d %d %d %d %f %f %d %d %*d %*d %d %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | &sub, &dir, &fa, &ba, &cx, &cy, &_sx, &_sy, &_ex, &_ey ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurppolyline': /build/source/fontforge/cvimages.c:578:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 578 | fscanf(fig, "%d %*d %*d %*d %*d %*d %*d %*d %*f %*d %*d %d %d %d %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 579 | &sub, &radius, &fa, &ba, &cnt ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurppoints': /build/source/fontforge/cvimages.c:433:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 433 | fscanf(fig,"%d %d", &x, &y ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurpspline': /build/source/fontforge/cvimages.c:795:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 795 | fscanf(fig, "%d %*d %*d %*d %*d %*d %*d %*d %*f %*d %d %d %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 796 | &sub, &fa, &ba, &cnt ); | ~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c:809:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 809 | fscanf(fig,"%lf",&xs.s[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 60%] Building C object fontforge/CMakeFiles/fontforge.dir/macenc.c.o /build/source/fontforge/fvimportbdf.c: In function '_SFImportBDF': /build/source/fontforge/fvimportbdf.c:2232:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2232 | system(buf); | ^~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c: In function 'pcf_properties': /build/source/fontforge/fvimportbdf.c:1475:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1475 | fread(strs,1,strl,file); | ^~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c: In function 'slurp_header': /build/source/fontforge/fvimportbdf.c:522:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 522 | fscanf(bdf,"%d",&cnt); | ^~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:529:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | fscanf(bdf, "%d", &cnt ); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:538:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 538 | fgets(buffer,sizeof(buffer),bdf ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c: In function 'PcfReadBitmaps': /build/source/fontforge/fvimportbdf.c:1682:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1682 | fread(bitmap,1,sizebitmaps,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c: In function 'PcfReadEncodingsNames': /build/source/fontforge/fvimportbdf.c:1737:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1737 | fread(string,1,stringsize,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c: In function 'AddBDFChar': /build/source/fontforge/fvimportbdf.c:300:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | fscanf(bdf,"%d",&enc); | ^~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:308:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 308 | fscanf(bdf,"%d",&enc); | ^~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:314:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | fscanf(bdf,"%d %*d",&width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:316:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 316 | fscanf(bdf,"%d %*d",&vwidth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:318:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | fscanf(bdf,"%d %*d",&swidth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:320:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 320 | fscanf(bdf,"%d %*d",&swidth1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/fvimportbdf.c:322:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 322 | fscanf(bdf,"%d %d %d %d",&hsz, &vsz, &xmin, &ymin ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 60%] Building C object fontforge/CMakeFiles/fontforge.dir/mathconstants.c.o In function 'ApproximateXSpline', inlined from 'slurpspline' at /build/source/fontforge/cvimages.c:821:11: /build/source/fontforge/cvimages.c:770:27: warning: 'sp' may be used uninitialized [-Wmaybe-uninitialized] 770 | sp->pointtype = ( xs->s[i+1]==0 )?pt_corner:pt_curve; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvimages.c: In function 'slurpspline': /build/source/fontforge/cvimages.c:760:18: note: 'sp' was declared here 760 | SplinePoint *sp; | ^~ [ 61%] Building C object fontforge/CMakeFiles/fontforge.dir/mem.c.o /build/source/fontforge/fvcomposite.c: In function 'SFGetAlternate': /build/source/fontforge/fvcomposite.c:1158:41: warning: the comparison will always evaluate as 'true' for the address of 'adobes_pua_alts' will never be NULL [-Waddress] 1158 | adobes_pua_alts[base-0xf600]!=0 ) | ^~ /build/source/fontforge/fvcomposite.c:438:11: note: 'adobes_pua_alts' declared here 438 | unichar_t adobes_pua_alts[0x200][3] = { /* Mapped from 0xf600-0xf7ff */ | ^~~~~~~~~~~~~~~ [ 61%] Building C object fontforge/CMakeFiles/fontforge.dir/mm.c.o [ 61%] Building C object fontforge/CMakeFiles/fontforge.dir/nonlineartrans.c.o [ 62%] Building C object fontforge/CMakeFiles/fontforge.dir/namelist.c.o In file included from /build/source/fontforge/cvexport.h:4, from /build/source/fontforge/cvexport.c:30: In function 'switch_to_old_locale', inlined from '_ExportEPS' at /build/source/fontforge/cvexport.c:164:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/cvexport.c: In function '_ExportEPS': /build/source/fontforge/cvexport.c:113:34: note: 'oldlocale' was declared here 113 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/cvundoes.c: In function 'copybuffer2svg': /build/source/fontforge/cvundoes.c:1446:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1446 | fread(ret,1,*len,svg); | ^~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvundoes.c: In function 'copybuffer2eps': /build/source/fontforge/cvundoes.c:1606:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1606 | fread(ret,1,*len,eps); | ^~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/cvundoes.c: In function 'copybuffer2svgmult': /build/source/fontforge/cvundoes.c:1513:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1513 | fread(ret,1,*len,svg); | ^~~~~~~~~~~~~~~~~~~~~ In function 'switch_to_old_locale', inlined from '_ExportPDF' at /build/source/fontforge/cvexport.c:311:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/cvexport.c: In function '_ExportPDF': /build/source/fontforge/cvexport.c:194:34: note: 'oldlocale' was declared here 194 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ [ 63%] Building C object fontforge/CMakeFiles/fontforge.dir/noprefs.c.o In function 'switch_to_old_locale', inlined from '_ExportPlate' at /build/source/fontforge/cvexport.c:368:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/cvexport.c: In function '_ExportPlate': /build/source/fontforge/cvexport.c:335:34: note: 'oldlocale' was declared here 335 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/macbinary.c: In function 'IsResourceInBinary': /build/source/fontforge/macbinary.c:2973:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2973 | fread(header,1,4,f); | ^~~~~~~~~~~~~~~~~~~ /build/source/fontforge/macbinary.c: In function 'IsResourceInHex': /build/source/fontforge/macbinary.c:3063:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3063 | fread(header,1,20,binary); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/macbinary.c:3069:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3069 | fread(header,1,4,binary); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/macbinary.c: In function 'SearchPostScriptResources': /build/source/fontforge/macbinary.c:2045:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2045 | fread(buffer,1,rlen,f); | ^~~~~~~~~~~~~~~~~~~~~~ [ 63%] Building C object fontforge/CMakeFiles/fontforge.dir/nouiutil.c.o /build/source/fontforge/macbinary.c: In function 'BuildFondList': /build/source/fontforge/macbinary.c:2312:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2312 | fread(name,1,ch1,f); | ^~~~~~~~~~~~~~~~~~~ [ 64%] Building C object fontforge/CMakeFiles/fontforge.dir/nowakowskittfinstr.c.o /build/source/fontforge/ikarus.c: In function 'SFReadIkarus': /build/source/fontforge/ikarus.c:614:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 614 | fread(fnam,1,12,file); /* 6 words of filename */ | ^~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/ikarus.c:615:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 615 | fread(fullname,1,80,file); /* 40 words of fontname (human readable) */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 64%] Building C object fontforge/CMakeFiles/fontforge.dir/ofl.c.o /build/source/fontforge/encoding.c: In function 'CompressCMap': /build/source/fontforge/encoding.c:1372:19: warning: argument 1 range [18446744071562067969, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1372 | cmap->remap = calloc(cmap->groups[cmt_coderange].n+1,sizeof(struct remap)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gutils.h:469, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gthread.h:36, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gasyncqueue.h:34, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib.h:34, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gobject/gbinding.h:30, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib-object.h:24, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gio/gioenums.h:30, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gio/giotypes.h:30, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gio/gio.h:28, from /build/source/inc/ffglib.h:34, from /build/source/fontforge/baseviews.h:31, from /build/source/fontforge/encoding.h:4, from /build/source/fontforge/encoding.c:30: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ [ 65%] Building C object fontforge/CMakeFiles/fontforge.dir/othersubrs.c.o /build/source/fontforge/macbinary.c: In function 'MakeMacPSName': /build/source/fontforge/macbinary.c:1564:54: warning: 'lcpt' may be used uninitialized [-Wmaybe-uninitialized] 1564 | } else if ( (islower(*spt) || isdigit(*spt)) && sptfoundry, | ^ /build/source/fontforge/bitmapchar.c:589:5: warning: '__builtin_strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 589 | strncpy(components->family, | ^ /build/source/fontforge/bitmapchar.c:591:5: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 591 | strncpy(components->weight, | ^ /build/source/fontforge/bitmapchar.c:593:5: warning: '__builtin_strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 593 | strncpy(components->slant, | ^ /build/source/fontforge/bitmapchar.c:595:5: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] 595 | strncpy(components->setwidth, | ^ /build/source/fontforge/bitmapchar.c:597:5: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] 597 | strncpy(components->add_style, | ^ /build/source/fontforge/bitmapchar.c:603:5: warning: '__builtin_strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 603 | strncpy(components->spacing, | ^ /build/source/fontforge/bitmapchar.c:606:5: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 606 | strncpy(components->cs_reg, | ^ [ 67%] Building C object fontforge/CMakeFiles/fontforge.dir/parsettf.c.o [ 67%] Building C object fontforge/CMakeFiles/fontforge.dir/parsettfatt.c.o In function 'gposPairSubTable', inlined from 'showgpossublookup' at /build/source/contrib/fonttools/showttf.c:2765:16: /build/source/contrib/fonttools/showttf.c:2461:22: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2461 | ps_offsets = calloc(cnt,sizeof(short)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'showgpossublookup': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ [ 68%] Building C object fontforge/CMakeFiles/fontforge.dir/parsettfbmf.c.o /build/source/fontforge/macbinary.c: In function 'PickFOND': /build/source/fontforge/macbinary.c:2641:21: warning: 'fonds' may be used uninitialized [-Wmaybe-uninitialized] 2641 | fond = fonds[which]; | ^ /build/source/fontforge/macbinary.c:2571:12: note: 'fonds' was declared here 2571 | FOND **fonds, *fond; | ^~~~~ /build/source/fontforge/macbinary.c:2643:24: warning: 'styles' may be used uninitialized [-Wmaybe-uninitialized] 2643 | *style = styles[which]; | ^ /build/source/fontforge/macbinary.c:2572:10: note: 'styles' was declared here 2572 | int *styles; | ^~~~~~ /build/source/fontforge/parsepdf.c: In function 'FindObjectsFromXREFObject': /build/source/fontforge/parsepdf.c:989:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 989 | fscanf( pdf, "%d %d", &pc->root, &bar ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsepdf.c: In function 'pdf_skipobjectheader': /build/source/fontforge/parsepdf.c:439:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | fscanf( pc->pdf, "%*d %*d obj" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsepdf.c: In function 'pdf_findobject': /build/source/fontforge/parsepdf.c:538:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 538 | fscanf( data, "%d %d", &o, &offset ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsepdf.c: In function 'seektrailer': /build/source/fontforge/parsepdf.c:159:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fscanf(pdf,"%d %ld",&pc->root,&bar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/showttf.c: In function 'readttfjustmax.part.0': /build/source/contrib/fonttools/showttf.c:6755:15: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6755 | offsets = malloc(lcnt*sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/fontforge/parsepdf.c: In function 'FindObjects': /build/source/fontforge/parsepdf.c:221:28: warning: pointer 'ret_old' may be used after 'realloc' [-Wuse-after-free=] 221 | free(ret); free(ret_old); | ^~~~~~~~~~~~~ /build/source/fontforge/parsepdf.c:218:19: note: call to 'realloc' here 218 | ret = realloc(ret,(start+num+1)*sizeof(long)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsepdf.c:222:28: warning: pointer 'gen_old' may be used after 'realloc' [-Wuse-after-free=] 222 | free(gen); free(gen_old); | ^~~~~~~~~~~~~ /build/source/fontforge/parsepdf.c:219:19: note: call to 'realloc' here 219 | gen = realloc(gen,(start+num)*sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/showttf.c: In function 'readttfjustlangsys': /build/source/contrib/fonttools/showttf.c:6793:15: warning: argument 1 value '18446744073709551612' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6793 | offsets = malloc(pcnt*sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ [ 68%] Building C object fontforge/CMakeFiles/fontforge.dir/parsettfvar.c.o [ 70%] Building C object fontforge/CMakeFiles/fontforge.dir/plugin.c.o [ 70%] Building C object fontforge/CMakeFiles/fontforge.dir/print.c.o /build/source/fontforge/parsettf.c: In function 'readtyp1glyphs': /build/source/fontforge/parsettf.c:4040:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 4040 | fread(buffer,1,sizeof(buffer),ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsettf.c: In function 'TtfCopyTableBlindly': /build/source/fontforge/parsettf.c:5525:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 5525 | fread(tab->data,1,len,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 71%] Building C object fontforge/CMakeFiles/fontforge.dir/psread.c.o In function 'readcffset', inlined from 'readcff.isra' at /build/source/contrib/fonttools/showttf.c:5984:6: /build/source/contrib/fonttools/showttf.c:5940:29: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 5940 | info->glyph_names = calloc(len,sizeof(char *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'readcff.isra': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/fontforge/palmfonts.c: In function 'SFReadPalmPdb': /build/source/fontforge/palmfonts.c:361:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 361 | fread(name,1,32,file); | ^~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsettfbmf.c: In function 'ttfreadbmfglyph': /build/source/fontforge/parsettfbmf.c:209:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | fread(bdfc->bitmap+i*bdfc->bytes_per_line,1,bdfc->bytes_per_line,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsettfbmf.c:248:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | fread(bdfc->bitmap+i*bdfc->bytes_per_line,1,bdfc->bytes_per_line,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 71%] Building C object fontforge/CMakeFiles/fontforge.dir/pua.c.o [ 72%] Building C object fontforge/CMakeFiles/fontforge.dir/python.c.o /build/source/contrib/fonttools/showttf.c: In function 'readttfpost.isra': /build/source/contrib/fonttools/showttf.c:2148:18: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2148 | glyphs = calloc(gc,sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2149:17: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2149 | names = calloc(gcglyph_cnt?info->glyph_cnt:gc,sizeof(char *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ In file included from /build/source/fontforge/sd.h:36, from /build/source/fontforge/parsepdf.h:4, from /build/source/fontforge/parsepdf.c:31: In function 'switch_to_old_locale', inlined from '_InterpretPdf.constprop' at /build/source/fontforge/parsepdf.c:1618:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/parsepdf.c: In function '_InterpretPdf.constprop': /build/source/fontforge/parsepdf.c:1297:34: note: 'oldlocale' was declared here 1297 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/parsepdf.c:1310:35: warning: 'dval' may be used uninitialized [-Wmaybe-uninitialized] 1310 | stack[sp++].u.val = dval; | ~~~~~~~~~~~~~~~~~~^~~~~~ /build/source/fontforge/parsepdf.c:1277:10: note: 'dval' was declared here 1277 | real dval; | ^~~~ [ 72%] Building C object fontforge/CMakeFiles/fontforge.dir/savefont.c.o In function 'LayerAllOutlines', inlined from 'SplineCharFreeTypeRasterizeNoHints' at /build/source/fontforge/freetype.c:1038:8: /build/source/fontforge/freetype.c:854:24: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 854 | last->next = cur; | ~~~~~~~~~~~^~~~~ /build/source/fontforge/freetype.c: In function 'SplineCharFreeTypeRasterizeNoHints': /build/source/fontforge/freetype.c:838:23: note: 'last' was declared here 838 | SplineSet *head, *last, *cur; | ^~~~ /build/source/fontforge/nonlineartrans.c: In function 'FVPointOfView': /build/source/fontforge/nonlineartrans.c:878:13: warning: 'layer' may be used uninitialized [-Wmaybe-uninitialized] 878 | SCPreserveLayer(sc,layer,false); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/nonlineartrans.c:863:19: note: 'layer' was declared here 863 | int i, cnt=0, layer, last, first, gid; | ^~~~~ /build/source/fontforge/parsettfatt.c: In function 'read_statetable': /build/source/fontforge/parsettfatt.c:4093:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 4093 | fread(st->classes,1,st->nglyphs,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsettfatt.c:4175:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 4175 | fread(st->state_table,1,st->nstates*st->nclasses,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsettfatt.c:4181:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 4181 | fread(st->transitions,1,st->nentries*st->entry_size,ttf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 73%] Building C object fontforge/CMakeFiles/fontforge.dir/scripting.c.o [ 73%] Building C object fontforge/CMakeFiles/fontforge.dir/scstyles.c.o [ 74%] Building C object fontforge/CMakeFiles/fontforge.dir/search.c.o /build/source/fontforge/psread.c: In function 'SameH': /build/source/fontforge/psread.c:3591:43: warning: the comparison will always evaluate as 'false' for the address of '*sameh->u.unblended' will never be NULL [-Waddress] 3591 | if ( (*sameh->u.unblended)[0] == NULL || (*sameh->u.unblended)[1]==NULL ) | ^~ /build/source/fontforge/psread.c:3591:78: warning: the comparison will always evaluate as 'false' for the address of '*sameh->u.unblended' will never be NULL [-Waddress] 3591 | if ( (*sameh->u.unblended)[0] == NULL || (*sameh->u.unblended)[1]==NULL ) | ^~ /build/source/fontforge/glyphcomp.c: In function 'CompareSplines': /build/source/fontforge/glyphcomp.c:772:23: warning: 'hmfail' may be used uninitialized [-Wmaybe-uninitialized] 772 | hmfail!=NULL ) | ^ /build/source/fontforge/glyphcomp.c:750:18: note: 'hmfail' declared here 750 | SplinePoint *hmfail; | ^~~~~~ /build/source/fontforge/glyphcomp.c:798:12: warning: 'ly' may be used uninitialized [-Wmaybe-uninitialized] 798 | if ( ly!=sc->layer_cnt || layer!=NULL ) | ^ /build/source/fontforge/glyphcomp.c:747:32: note: 'ly' was declared here 747 | int ret=0, failed=0, temp, ly; | ^~ /build/source/fontforge/glyphcomp.c:798:32: warning: 'layer' may be used uninitialized [-Wmaybe-uninitialized] 798 | if ( ly!=sc->layer_cnt || layer!=NULL ) | ^ /build/source/fontforge/glyphcomp.c:748:19: note: 'layer' was declared here 748 | const Undoes *layer; | ^~~~~ /build/source/fontforge/glyphcomp.c:772:23: warning: 'hmfail' may be used uninitialized [-Wmaybe-uninitialized] 772 | hmfail!=NULL ) | ^ /build/source/fontforge/glyphcomp.c:750:18: note: 'hmfail' declared here 750 | SplinePoint *hmfail; | ^~~~~~ [ 74%] Building C object fontforge/CMakeFiles/fontforge.dir/sfd.c.o [ 75%] Building C object fontforge/CMakeFiles/fontforge.dir/sfd1.c.o /build/source/fontforge/parsettfbmf.c: In function 'TTFLoadBitmaps': /build/source/fontforge/parsettfbmf.c:571:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 571 | sel[biggest] = true; | ^ /build/source/fontforge/parsettfbmf.c:553:11: note: at offset -1 into destination object of size [1, 9223372036854775807] allocated by 'calloc' 553 | sel = calloc(cnt,sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsettfbmf.c:571:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 571 | sel[biggest] = true; | ^ /build/source/fontforge/parsettfbmf.c:553:11: note: at offset -1 into destination object of size [1, 9223372036854775807] allocated by 'calloc' 553 | sel = calloc(cnt,sizeof(char)); | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 75%] Building C object fontforge/CMakeFiles/fontforge.dir/sflayout.c.o /build/source/fontforge/print.c: In function 'AllChars': /build/source/fontforge/print.c:2704:59: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 2704 | if ( i==max || !SCWorthOutputting(sf->subfonts[j]->glyphs[i])) | ^ /build/source/fontforge/print.c:2692:22: note: 'j' was declared here 2692 | int max = 0, j; | ^ In function 'FondSplitter', inlined from 'WriteMacFamily' at /build/source/fontforge/macbinary.c:1900:12: /build/source/fontforge/macbinary.c:1004:20: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 1004 | last->next = NULL; | ^ /build/source/fontforge/macbinary.c: In function 'WriteMacFamily': /build/source/fontforge/macbinary.c:943:40: note: 'last' was declared here 943 | struct sflist *psfaces[48], *sfi, *last, *start; | ^~~~ [ 76%] Building C object fontforge/CMakeFiles/fontforge.dir/spiro.c.o In function 'SCCompare', inlined from 'comparefontglyphs' at /build/source/fontforge/glyphcomp.c:1248:6, inlined from 'CompareFonts' at /build/source/fontforge/glyphcomp.c:2338:2: /build/source/fontforge/glyphcomp.c:1159:46: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 1159 | if ( ( fd->flags&fcf_hintmasks ) && !(val&SS_NoMatch) && | ~~~~^~~~~~~~~~~~ /build/source/fontforge/glyphcomp.c: In function 'CompareFonts': /build/source/fontforge/glyphcomp.c:1092:9: note: 'val' was declared here 1092 | int val; | ^~~ /build/source/fontforge/print.c: In function 'QueueIt': /build/source/fontforge/print.c:2880:32: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 2880 | sprintf(buf,"-#%d", pi->copies ); | ^~ /build/source/fontforge/print.c:2880:29: note: directive argument in the range [2, 2147483647] 2880 | sprintf(buf,"-#%d", pi->copies ); | ^~~~~~ In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdio.h:974, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gprintf.h:24, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gstdio.h:24, from /build/source/inc/ffglib.h:37, from /build/source/fontforge/baseviews.h:31, from /build/source/fontforge/print.h:31, from /build/source/fontforge/print.c:31: In function 'sprintf', inlined from 'QueueIt' at /build/source/fontforge/print.c:2880:3: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 13 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/fontforge/print.c: In function 'QueueIt': /build/source/fontforge/print.c:2870:32: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 2870 | sprintf(buf,"%d", pi->copies ); | ^ In function 'sprintf', inlined from 'QueueIt' at /build/source/fontforge/print.c:2870:3: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFDGetPSTs': /build/source/fontforge/sfd.c:5092:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5092 | fscanf( sfd, " dx=%hd dy=%hd dh=%hd dv=%hd", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5093 | &pst->u.pos.xoff, &pst->u.pos.yoff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5094 | &pst->u.pos.h_adv_off, &pst->u.pos.v_adv_off); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5101:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5101 | fscanf( sfd, " dx=%hd dy=%hd dh=%hd dv=%hd", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5102 | &pst->u.pair.vr[0].xoff, &pst->u.pair.vr[0].yoff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5103 | &pst->u.pair.vr[0].h_adv_off, &pst->u.pair.vr[0].v_adv_off); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5105:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5105 | fscanf( sfd, " dx=%hd dy=%hd dh=%hd dv=%hd", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5106 | &pst->u.pair.vr[1].xoff, &pst->u.pair.vr[1].yoff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5107 | &pst->u.pair.vr[1].h_adv_off, &pst->u.pair.vr[1].v_adv_off); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5112:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5112 | fscanf( sfd, " %d", &pst->u.lcaret.cnt ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5115:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5115 | fscanf( sfd, " %hd", &pst->u.lcaret.carets[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFD_GetFontMetaData': /build/source/fontforge/sfd.c:8077:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 8077 | fread(sf->mark_classes[i],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:8094:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 8094 | fread(sf->mark_sets[i],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:8152:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 8152 | fread(kc->firsts[i],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:8169:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 8169 | fread(kc->seconds[i],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFDParseLookup': /build/source/fontforge/sfd.c:7230:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 7230 | fscanf(sfd,"%d,%d>", &ft, &fs ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFDParseChainContext': /build/source/fontforge/sfd.c:6626:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6626 | fscanf(sfd, "%hu %hu", &((FPST1 *) fpst)->flags, &((FPST1 *) fpst)->script_lang_index ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6658:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6658 | fscanf(sfd, "%hu %hu %hu %hu", &fpst->nccnt, &fpst->bccnt, &fpst->fccnt, &fpst->rule_cnt ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6681:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 6681 | fread((&fpst->nclass)[j][i],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6695:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 6695 | fread((&fpst->rules[i].u.glyph.names)[j],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6699:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6699 | fscanf( sfd, "%d %d %d", &fpst->rules[i].u.class.ncnt, &fpst->rules[i].u.class.bcnt, &fpst->rules[i].u.class.fcnt ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6710:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6710 | fscanf( sfd, "%d %d %d", &fpst->rules[i].u.coverage.ncnt, &fpst->rules[i].u.coverage.bcnt, &fpst->rules[i].u.coverage.fcnt ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6719:21: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 6719 | fread((&fpst->rules[i].u.coverage.ncovers)[j][k],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6747:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 6747 | fread(fpst->rules[i].u.rcoverage.replacements,1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFDParseStateMachine': /build/source/fontforge/sfd.c:6796:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 6796 | fread(sm->classes[i],1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6813:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 6813 | fread(sm->state[i].u.insert.mark_ins,1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:6821:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 6821 | fread(sm->state[i].u.insert.cur_ins,1,temp,sfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFD_GetFont': /build/source/fontforge/sfd.c:8660:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8660 | fscanf(sfd,"%d,%d>", &f, &s ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/parsettf.c: In function 'ApplyVariationSequenceSubtable': /build/source/fontforge/parsettf.c:4402:42: warning: 'sc' may be used uninitialized [-Wmaybe-uninitialized] 4402 | altuni->next = sc->altuni; | ~~^~~~~~~~ /build/source/fontforge/parsettf.c:4380:33: note: 'sc' was declared here 4380 | SplineChar *sc; | ^~ /build/source/fontforge/sfd.c: In function 'SFDGetChar': /build/source/fontforge/sfd.c:5814:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5814 | fscanf( sfd, " dx=%hd dy=%hd dh=%hd dv=%hd", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5815 | &pst->u.pos.xoff, &pst->u.pos.yoff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5816 | &pst->u.pos.h_adv_off, &pst->u.pos.v_adv_off); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5823:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5823 | fscanf( sfd, " dx=%hd dy=%hd dh=%hd dv=%hd", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5824 | &pst->u.pair.vr[0].xoff, &pst->u.pair.vr[0].yoff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5825 | &pst->u.pair.vr[0].h_adv_off, &pst->u.pair.vr[0].v_adv_off); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5827:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5827 | fscanf( sfd, " dx=%hd dy=%hd dh=%hd dv=%hd", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5828 | &pst->u.pair.vr[1].xoff, &pst->u.pair.vr[1].yoff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5829 | &pst->u.pair.vr[1].h_adv_off, &pst->u.pair.vr[1].v_adv_off); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5834:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5834 | fscanf( sfd, " %d", &pst->u.lcaret.cnt ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:5837:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5837 | fscanf( sfd, " %hd", &pst->u.lcaret.carets[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 76%] Building C object fontforge/CMakeFiles/fontforge.dir/splinechar.c.o /build/source/fontforge/sfd.c: In function 'ask_about_file': /build/source/fontforge/sfd.c:9265:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 9265 | fgets(buffer,sizeof(buffer),*asfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFDGetTtInstrs': /build/source/fontforge/sfd.c:3711:34: warning: pointer 'buf' used after 'realloc' [-Wuse-after-free=] 3711 | end = newbuf+(end+200-buf); | ~~~~~~~~^~~~~ /build/source/fontforge/sfd.c:3709:28: note: call to 'realloc' here 3709 | char *newbuf = realloc(buf,(end-buf+200)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:3710:28: warning: pointer 'buf' used after 'realloc' [-Wuse-after-free=] 3710 | pt = newbuf+(pt-buf); | ~~~^~~~~ /build/source/fontforge/sfd.c:3709:28: note: call to 'realloc' here 3709 | char *newbuf = realloc(buf,(end-buf+200)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFDGetTtTable': /build/source/fontforge/sfd.c:3834:34: warning: pointer 'buf' used after 'realloc' [-Wuse-after-free=] 3834 | end = newbuf+(end+200-buf); | ~~~~~~~~^~~~~ /build/source/fontforge/sfd.c:3832:28: note: call to 'realloc' here 3832 | char *newbuf = realloc(buf,(end-buf+200)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c:3833:28: warning: pointer 'buf' used after 'realloc' [-Wuse-after-free=] 3833 | pt = newbuf+(pt-buf); | ~~~^~~~~ /build/source/fontforge/sfd.c:3832:28: note: call to 'realloc' here 3832 | char *newbuf = realloc(buf,(end-buf+200)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/scripting.c: In function '_CheckIsScript': /build/source/fontforge/scripting.c:10501:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 10501 | fgets(buffer,sizeof(buffer),temp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'getquotedeol': /build/source/fontforge/sfd.c:3223:26: warning: pointer 'str' used after 'realloc' [-Wuse-after-free=] 3223 | end = pt+(end-str)+100; | ~~~~^~~~~ /build/source/fontforge/sfd.c:3222:18: note: call to 'realloc' here 3222 | pt = realloc(str,end-str+101); | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 77%] Building C object fontforge/CMakeFiles/fontforge.dir/splinefill.c.o In function 'PcfParse', inlined from 'SFImportBDF' at /build/source/fontforge/fvimportbdf.c:2164:8: /build/source/fontforge/fvimportbdf.c:1807:17: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1807 | b->glyphs = calloc(mcnt,sizeof(BDFChar *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gutils.h:469, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gthread.h:36, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib/gasyncqueue.h:34, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib.h:34, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gobject/gbinding.h:30, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/glib-object.h:24, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gio/gioenums.h:30, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gio/giotypes.h:30, from /nix/store/pvqpdbwlk35sz474jzkx804n25hnn2jx-glib-2.90.0-dev/include/glib-2.0/gio/gio.h:28, from /build/source/inc/ffglib.h:34, from /build/source/fontforge/baseviews.h:31, from /build/source/fontforge/fvimportbdf.h:4, from /build/source/fontforge/fvimportbdf.c:30: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'SFImportBDF': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ [ 77%] Building C object fontforge/CMakeFiles/fontforge.dir/splinefit.c.o [ 78%] Building C object fontforge/CMakeFiles/fontforge.dir/splinefont.c.o In function 'gdefshowligcaretlist', inlined from 'readttfgdef.isra' at /build/source/contrib/fonttools/showttf.c:2917:19: /build/source/contrib/fonttools/showttf.c:2883:19: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2883 | offsets = malloc(cc*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'readttfgdef.isra': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ In function 'gdefshowligcaretlist', inlined from 'readttfgdef.isra' at /build/source/contrib/fonttools/showttf.c:2917:19: /build/source/contrib/fonttools/showttf.c:2873:18: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2873 | lc_offsets = malloc(cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'readttfgdef.isra': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ In function 'InterpolateVal', inlined from 'InterpolateBetweenEdges' at /build/source/fontforge/scstyles.c:831:8: /build/source/fontforge/scstyles.c:141:12: warning: 'prev_new' may be used uninitialized [-Wmaybe-uninitialized] 141 | return( a1 + ( val - a ) * ( b1 - a1 )/( b - a )); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/scstyles.c: In function 'InterpolateBetweenEdges': /build/source/fontforge/scstyles.c:798:32: note: 'prev_new' was declared here 798 | double prev_pos, next_pos, prev_new, next_new, start, end, ret; | ^~~~~~~~ In function 'InterpolateVal', inlined from 'InterpolateBetweenEdges' at /build/source/fontforge/scstyles.c:833:8: /build/source/fontforge/scstyles.c:141:33: warning: 'next_new' may be used uninitialized [-Wmaybe-uninitialized] 141 | return( a1 + ( val - a ) * ( b1 - a1 )/( b - a )); | ~~~~~^~~~~~ /build/source/fontforge/scstyles.c: In function 'InterpolateBetweenEdges': /build/source/fontforge/scstyles.c:798:42: note: 'next_new' was declared here 798 | double prev_pos, next_pos, prev_new, next_new, start, end, ret; | ^~~~~~~~ /build/source/fontforge/psread.c: In function 'PSAddImagemask': /build/source/fontforge/psread.c:1184:32: warning: 'datalen' may be used uninitialized [-Wmaybe-uninitialized] 1184 | if ( width<=0 || height<=0 || ((width+7)/8)*height>datalen ) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/psread.c:1152:9: note: 'datalen' was declared here 1152 | int datalen, width, height, polarity; | ^~~~~~~ /build/source/contrib/fonttools/showttf.c: In function 'readttfbase.isra': /build/source/contrib/fonttools/showttf.c:6616:20: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6616 | tags = calloc(basetagcnt,sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/contrib/fonttools/showttf.c:6630:18: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6630 | bs = calloc(basescriptcnt,sizeof(struct tagoff)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/contrib/fonttools/showttf.c:6649:22: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6649 | ls = calloc(langsyscnt,sizeof(struct tagoff)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/contrib/fonttools/showttf.c:6616:20: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6616 | tags = calloc(basetagcnt,sizeof(uint32_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/contrib/fonttools/showttf.c:6630:18: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6630 | bs = calloc(basescriptcnt,sizeof(struct tagoff)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/contrib/fonttools/showttf.c:6649:22: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6649 | ls = calloc(langsyscnt,sizeof(struct tagoff)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ [ 78%] Building C object fontforge/CMakeFiles/fontforge.dir/splineorder2.c.o [ 80%] Building C object fontforge/CMakeFiles/fontforge.dir/splineoverlap.c.o [ 80%] Building C object fontforge/CMakeFiles/fontforge.dir/splinerefigure.c.o [ 81%] Building C object fontforge/CMakeFiles/fontforge.dir/splinesave.c.o /build/source/fontforge/splinefont.c: In function 'ArchiveParseTOC': /build/source/fontforge/splinefont.c:701:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 701 | fgets(linebuffer,linelenmax+3,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinefont.c:702:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 702 | fgets(linebuffer,linelenmax+3,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinefont.c:703:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 703 | fgets(linebuffer,linelenmax+3,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 81%] Building C object fontforge/CMakeFiles/fontforge.dir/splinesaveafm.c.o /build/source/fontforge/parsettf.c: In function 'readcffprivate': /build/source/fontforge/parsettf.c:3202:27: warning: 'oval' may be used uninitialized [-Wmaybe-uninitialized] 3202 | } else if ( sp==0 && oval!=6 && oval!=7 && oval!=8 && oval!=9 && oval !=(12<<8)+12 && oval !=(12<<8)+13) { | ~~~~~~^~~~~~~~~~ /build/source/fontforge/parsettf.c:3176:15: note: 'oval' was declared here 3176 | int ival, oval, sp, ret, i; | ^~~~ In function 'switch_to_old_locale', inlined from 'NamesReadPDF' at /build/source/fontforge/parsepdf.c:2087:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/parsepdf.c: In function 'NamesReadPDF': /build/source/fontforge/parsepdf.c:2063:34: note: 'oldlocale' was declared here 2063 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/contrib/fonttools/showttf.c: In function 'readttfencodings.isra': /build/source/contrib/fonttools/showttf.c:2055:48: warning: 'format' may be used uninitialized [-Wmaybe-uninitialized] 2055 | for ( i=0; iglyph_cnt && (format!=0 || i<256); ++i ) | ~~~~~~^~~ /build/source/contrib/fonttools/showttf.c:1798:9: note: 'format' was declared here 1798 | int format, len; | ^~~~~~ /build/source/contrib/fonttools/showttf.c:2085:19: warning: argument 1 value '18446744073709551604' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2085 | vs_data = malloc( cnt*sizeof(struct vs_data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ In function 'switch_to_old_locale', inlined from '_SFReadPdfFont' at /build/source/fontforge/parsepdf.c:2115:2: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/parsepdf.c: In function '_SFReadPdfFont': /build/source/fontforge/parsepdf.c:2107:34: note: 'oldlocale' was declared here 2107 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ [ 82%] Building C object fontforge/CMakeFiles/fontforge.dir/splinestroke.c.o /build/source/fontforge/search.c: In function 'SPMatchesF': /build/source/fontforge/search.c:185:22: warning: 'pend_unit.x' may be used uninitialized [-Wmaybe-uninitialized] 185 | if ( RealNear(sc_unit.x,pend_unit.x) && RealNear(sc_unit.y,pend_unit.y)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/search.c:74:23: note: 'pend_unit.x' was declared here 74 | BasePoint p_unit, pend_unit, sc_unit; | ^~~~~~~~~ /build/source/fontforge/search.c:185:57: warning: 'pend_unit.y' may be used uninitialized [-Wmaybe-uninitialized] 185 | if ( RealNear(sc_unit.x,pend_unit.x) && RealNear(sc_unit.y,pend_unit.y)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/search.c:74:23: note: 'pend_unit.y' was declared here 74 | BasePoint p_unit, pend_unit, sc_unit; | ^~~~~~~~~ /build/source/fontforge/search.c:163:23: warning: 'p_unit.x' may be used uninitialized [-Wmaybe-uninitialized] 163 | if ( !RealNear(sc_unit.x,p_unit.x) || !RealNear(sc_unit.y,p_unit.y)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/search.c:74:15: note: 'p_unit.x' was declared here 74 | BasePoint p_unit, pend_unit, sc_unit; | ^~~~~~ /build/source/fontforge/search.c:163:56: warning: 'p_unit.y' may be used uninitialized [-Wmaybe-uninitialized] 163 | if ( !RealNear(sc_unit.x,p_unit.x) || !RealNear(sc_unit.y,p_unit.y)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/search.c:74:15: note: 'p_unit.y' was declared here 74 | BasePoint p_unit, pend_unit, sc_unit; | ^~~~~~ /build/source/fontforge/search.c:321:27: warning: 'sc_unit.y' may be used uninitialized [-Wmaybe-uninitialized] 321 | rot = atan2(xsign*(sc_unit.y),ysign*(sc_unit.x)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/search.c:74:34: note: 'sc_unit.y' was declared here 74 | BasePoint p_unit, pend_unit, sc_unit; | ^~~~~~~ /build/source/fontforge/search.c:321:27: warning: 'sc_unit.x' may be used uninitialized [-Wmaybe-uninitialized] 321 | rot = atan2(xsign*(sc_unit.y),ysign*(sc_unit.x)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/search.c:74:34: note: 'sc_unit.x' was declared here 74 | BasePoint p_unit, pend_unit, sc_unit; | ^~~~~~~ In function 'switch_to_old_locale', inlined from 'EntityInterpretPDFPage' at /build/source/fontforge/parsepdf.c:2199:2: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/parsepdf.c: In function 'EntityInterpretPDFPage': /build/source/fontforge/parsepdf.c:2191:34: note: 'oldlocale' was declared here 2191 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ [ 82%] Building C object fontforge/CMakeFiles/fontforge.dir/splineutil.c.o [ 83%] Building C object fontforge/CMakeFiles/fontforge.dir/splineutil2.c.o In function 'readttfjstf', inlined from 'readit' at /build/source/contrib/fonttools/showttf.c:6950:2: /build/source/contrib/fonttools/showttf.c:6841:15: warning: argument 1 value '18446744073709551608' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 6841 | scripts = malloc(cnt*sizeof(struct tagoff)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'readit': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ In function 'showgpossublookups', inlined from 'readttfgpos' at /build/source/contrib/fonttools/showttf.c:2845:5, inlined from 'readit' at /build/source/contrib/fonttools/showttf.c:6942:2: /build/source/contrib/fonttools/showttf.c:2809:18: warning: argument 1 value '18446744073709551614' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2809 | lu_offsets = malloc(lu_cnt*sizeof(uint16_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'readit': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ In function 'dumpprivatestuff', inlined from 'dumpcidstuff' at /build/source/fontforge/dumppfa.c:2605:2: /build/source/fontforge/dumppfa.c:1572:12: warning: 'stdhw[0]' may be used uninitialized [-Wmaybe-uninitialized] 1572 | if ( stdhw[0]!=0 ) ++cnt; | ^ /build/source/fontforge/dumppfa.c: In function 'dumpcidstuff': /build/source/fontforge/dumppfa.c:1465:10: note: 'stdhw[0]' was declared here 1465 | real stdhw[1], stdvw[1]; | ^~~~~ [ 83%] Building C object fontforge/CMakeFiles/fontforge.dir/start.c.o /build/source/fontforge/splinerefigure.c: In function 'SplineRefigure3': /build/source/fontforge/splinerefigure.c:108:15: warning: 'old.splines[0].a' may be used uninitialized [-Wmaybe-uninitialized] 108 | if ( !RealNear(old.splines[0].a,spline->splines[0].a) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinerefigure.c:49:12: note: 'old.splines[0].a' was declared here 49 | Spline old; | ^~~ /build/source/fontforge/splinerefigure.c:109:18: warning: 'old.splines[0].b' may be used uninitialized [-Wmaybe-uninitialized] 109 | !RealNear(old.splines[0].b,spline->splines[0].b) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinerefigure.c:49:12: note: 'old.splines[0].b' was declared here 49 | Spline old; | ^~~ /build/source/fontforge/splinerefigure.c:110:18: warning: 'old.splines[0].c' may be used uninitialized [-Wmaybe-uninitialized] 110 | !RealNear(old.splines[0].c,spline->splines[0].c) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinerefigure.c:49:12: note: 'old.splines[0].c' was declared here 49 | Spline old; | ^~~ /build/source/fontforge/splinerefigure.c:111:18: warning: 'old.splines[1].a' may be used uninitialized [-Wmaybe-uninitialized] 111 | !RealNear(old.splines[1].a,spline->splines[1].a) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinerefigure.c:49:12: note: 'old.splines[1].a' was declared here 49 | Spline old; | ^~~ /build/source/fontforge/splinerefigure.c:112:18: warning: 'old.splines[1].b' may be used uninitialized [-Wmaybe-uninitialized] 112 | !RealNear(old.splines[1].b,spline->splines[1].b) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinerefigure.c:49:12: note: 'old.splines[1].b' was declared here 49 | Spline old; | ^~~ /build/source/fontforge/splinerefigure.c:113:18: warning: 'old.splines[1].c' may be used uninitialized [-Wmaybe-uninitialized] 113 | !RealNear(old.splines[1].c,spline->splines[1].c) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinerefigure.c:49:12: note: 'old.splines[1].c' was declared here 49 | Spline old; | ^~~ /build/source/fontforge/splinesave.c: In function 'HintSetup': /build/source/fontforge/splinesave.c:784:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'to->hintmask + (sizetype)((long unsigned int)i * 12)' must not be NULL [-Waddress] 784 | if ( to->hintmask[i]!=0 ) | ^~ [ 84%] Building C object fontforge/CMakeFiles/fontforge.dir/stemdb.c.o /build/source/fontforge/splinesave.c: In function 'DumpRefsHints': /build/source/fontforge/splinesave.c:2821:14: warning: variable 'sets' set but not used [-Wunused-but-set-variable=] 2821 | int cnt, sets=0; | ^~~~ /build/source/fontforge/scripting.c: In function 'bMultipleEncodingsToReferences': /build/source/fontforge/scripting.c:2736:33: warning: 'orig' may be used uninitialized [-Wmaybe-uninitialized] 2736 | sc->width = orig->width; | ~~~~^~~~~~~ /build/source/fontforge/scripting.c:2698:22: note: 'orig' was declared here 2698 | SplineChar *sc, *orig; | ^~~~ /build/source/fontforge/lookups.c: In function 'TagFullName': /build/source/fontforge/lookups.c:1666:17: warning: '__builtin_strncpy' specified bound 193 equals destination size [-Wstringop-truncation] 1666 | strncpy(ubuf+7, (char *) friendlies[k].friendlyname,end-ubuf-7); | ^ [ 84%] Building CXX object fontforge/CMakeFiles/fontforge.dir/std_maps.cpp.o /build/source/fontforge/splinesaveafm.c: In function 'LoadKerningDataFromTfm': /build/source/fontforge/splinesaveafm.c:550:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | fread( tfmd.widtab,1,tfmd.width_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:551:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 551 | fread( tfmd.httab,1,tfmd.height_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:552:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 552 | fread( tfmd.dptab,1,tfmd.depth_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:553:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 553 | fread( tfmd.ictab,1,tfmd.italic_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:554:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | fread( tfmd.ligkerntab,1,tfmd.ligkern_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:555:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 555 | fread( tfmd.kerntab,1,tfmd.kern_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:556:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 556 | fread( tfmd.ext,1,tfmd.esize*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c: In function 'LoadKerningDataFromOfm': /build/source/fontforge/splinesaveafm.c:801:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | fread( tfmd.widtab,1,tfmd.width_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:802:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 802 | fread( tfmd.httab,1,tfmd.height_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:803:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 803 | fread( tfmd.dptab,1,tfmd.depth_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:804:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 804 | fread( tfmd.ictab,1,tfmd.italic_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:805:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 805 | fread( tfmd.ligkerntab,1,tfmd.ligkern_size*2*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:806:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 806 | fread( tfmd.kerntab,1,tfmd.kern_size*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinesaveafm.c:807:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 807 | fread( tfmd.ext,1,tfmd.esize*2*sizeof(int32_t),file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 85%] Building C object fontforge/CMakeFiles/fontforge.dir/svg.c.o [ 85%] Building C object fontforge/CMakeFiles/fontforge.dir/tottf.c.o [ 85%] Linking C executable ../../bin/showttf /build/source/fontforge/sflayout.c: In function 'FontImage': /build/source/fontforge/sflayout.c:1329:8: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 1329 | if ( !ret ) | ^ /build/source/fontforge/sflayout.c:1225:24: note: 'ret' was declared here 1225 | int cnt, len, i,j, ret, p, x; | ^~~ /build/source/fontforge/scripting.c: In function 'bUnicodeNames2FromLib': /build/source/fontforge/scripting.c:1224:32: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized] 1224 | c->return_val.u.sval = uniname_formal_alias(ch); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/scripting.c:1212:15: note: 'ch' was declared here 1212 | unichar_t ch; | ^~ [ 86%] Building C object fontforge/CMakeFiles/fontforge.dir/tottfaat.c.o [ 86%] Built target showttf [ 86%] Building C object fontforge/CMakeFiles/fontforge.dir/tottfgpos.c.o In function 'PickCMap', inlined from 'readttfencodings' at /build/source/fontforge/parsettf.c:4678:65: /build/source/fontforge/parsettf.c:4486:15: warning: argument 1 range [18446744056529682432, 18446744073709551608] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 4486 | choices = malloc(enccnt*sizeof(char *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/source/inc/basics.h:39, from /build/source/fontforge/splinefont.h:31, from /build/source/fontforge/parsettf.h:6, from /build/source/fontforge/parsettf.c:30: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'readttfencodings': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ In file included from /build/source/fontforge/edgelist.h:31, from /build/source/fontforge/autohint.h:4, from /build/source/fontforge/splinefont.c:30: In function 'switch_to_old_locale', inlined from 'SFPrivateGuess' at /build/source/fontforge/splinefont.c:2041:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/splinefont.c: In function 'SFPrivateGuess': /build/source/fontforge/splinefont.c:1984:34: note: 'oldlocale' was declared here 1984 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/nowakowskittfinstr.c: In function 'InterpolateStrongPoints': /build/source/fontforge/nowakowskittfinstr.c:2845:22: warning: 'prev_closed' may be used uninitialized [-Wmaybe-uninitialized] 2845 | int next_closed, prev_closed; | ^~~~~~~~~~~ In function 'optimize_strongpts_step2', inlined from 'optimize_strongpts' at /build/source/fontforge/nowakowskittfinstr.c:2781:5, inlined from 'InterpolateStrongPoints' at /build/source/fontforge/nowakowskittfinstr.c:5000:13: /build/source/fontforge/dumppfa.c: In function 'dumpprivatestuff.isra': /build/source/fontforge/dumppfa.c:1572:12: warning: 'stdhw[0]' may be used uninitialized [-Wmaybe-uninitialized] 1572 | if ( stdhw[0]!=0 ) ++cnt; | ^ /build/source/fontforge/dumppfa.c:1465:10: note: 'stdhw[0]' was declared here 1465 | real stdhw[1], stdvw[1]; | ^~~~~ /build/source/fontforge/nowakowskittfinstr.c:2931:33: warning: 'prev_coord_max' may be used uninitialized [-Wmaybe-uninitialized] 2931 | (prev_coord_max >= pt_coord && pt != prev_pt_max && | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/source/fontforge/nowakowskittfinstr.c: In function 'InterpolateStrongPoints': /build/source/fontforge/nowakowskittfinstr.c:2847:41: note: 'prev_coord_max' was declared here 2847 | int next_coord_max, next_coord_min, prev_coord_max, prev_coord_min; | ^~~~~~~~~~~~~~ In function 'optimize_strongpts_step2', inlined from 'optimize_strongpts' at /build/source/fontforge/nowakowskittfinstr.c:2781:5, inlined from 'InterpolateStrongPoints' at /build/source/fontforge/nowakowskittfinstr.c:5000:13: /build/source/fontforge/nowakowskittfinstr.c:2931:45: warning: 'prev_pt_max' may be used uninitialized [-Wmaybe-uninitialized] 2931 | (prev_coord_max >= pt_coord && pt != prev_pt_max && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/nowakowskittfinstr.c: In function 'InterpolateStrongPoints': /build/source/fontforge/nowakowskittfinstr.c:2846:35: note: 'prev_pt_max' was declared here 2846 | int next_pt_max, next_pt_min, prev_pt_max, prev_pt_min; | ^~~~~~~~~~~ In function 'optimize_strongpts_step2', inlined from 'optimize_strongpts' at /build/source/fontforge/nowakowskittfinstr.c:2781:5, inlined from 'InterpolateStrongPoints' at /build/source/fontforge/nowakowskittfinstr.c:5000:13: /build/source/fontforge/nowakowskittfinstr.c:2933:33: warning: 'prev_coord_min' may be used uninitialized [-Wmaybe-uninitialized] 2933 | (prev_coord_min <= pt_coord && pt != prev_pt_min && | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /build/source/fontforge/nowakowskittfinstr.c: In function 'InterpolateStrongPoints': /build/source/fontforge/nowakowskittfinstr.c:2847:57: note: 'prev_coord_min' was declared here 2847 | int next_coord_max, next_coord_min, prev_coord_max, prev_coord_min; | ^~~~~~~~~~~~~~ In function 'optimize_strongpts_step2', inlined from 'optimize_strongpts' at /build/source/fontforge/nowakowskittfinstr.c:2781:5, inlined from 'InterpolateStrongPoints' at /build/source/fontforge/nowakowskittfinstr.c:5000:13: /build/source/fontforge/nowakowskittfinstr.c:2933:45: warning: 'prev_pt_min' may be used uninitialized [-Wmaybe-uninitialized] 2933 | (prev_coord_min <= pt_coord && pt != prev_pt_min && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/nowakowskittfinstr.c: In function 'InterpolateStrongPoints': /build/source/fontforge/nowakowskittfinstr.c:2846:48: note: 'prev_pt_min' was declared here 2846 | int next_pt_max, next_pt_min, prev_pt_max, prev_pt_min; | ^~~~~~~~~~~ In file included from /build/source/fontforge/edgelist.h:31, from /build/source/fontforge/autohint.h:4, from /build/source/fontforge/psread.c:30: In function 'switch_to_old_locale', inlined from '_InterpretPS' at /build/source/fontforge/psread.c:2835:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/psread.c: In function '_InterpretPS': /build/source/fontforge/psread.c:1310:34: note: 'oldlocale' was declared here 1310 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ [ 87%] Building C object fontforge/CMakeFiles/fontforge.dir/tottfvar.c.o In file included from /build/source/fontforge/sd.h:31, from /build/source/fontforge/baseviews.h:33, from /build/source/fontforge/cvimages.h:4, from /build/source/fontforge/psread.c:31: /build/source/inc/gimage.h:40:38: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 40 | #define COLOR_CREATE(r,g,b) (((r)<<16) | ((g)<<8) | (b)) | ~~~~^~~~~ /build/source/fontforge/psread.c:2361:28: note: in expansion of macro 'COLOR_CREATE' 2361 | fore = COLOR_CREATE(r,g,bl); | ^~~~~~~~~~~~ /build/source/fontforge/psread.c:2332:21: note: 'r' was declared here 2332 | int r,g,bl; | ^ /build/source/inc/gimage.h:40:50: warning: 'g' may be used uninitialized [-Wmaybe-uninitialized] 40 | #define COLOR_CREATE(r,g,b) (((r)<<16) | ((g)<<8) | (b)) | ~~~~^~~~ /build/source/fontforge/psread.c:2361:28: note: in expansion of macro 'COLOR_CREATE' 2361 | fore = COLOR_CREATE(r,g,bl); | ^~~~~~~~~~~~ /build/source/fontforge/psread.c:2332:23: note: 'g' was declared here 2332 | int r,g,bl; | ^ /build/source/inc/gimage.h:40:55: warning: 'bl' may be used uninitialized [-Wmaybe-uninitialized] 40 | #define COLOR_CREATE(r,g,b) (((r)<<16) | ((g)<<8) | (b)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /build/source/fontforge/psread.c:2361:28: note: in expansion of macro 'COLOR_CREATE' 2361 | fore = COLOR_CREATE(r,g,bl); | ^~~~~~~~~~~~ /build/source/fontforge/psread.c:2332:25: note: 'bl' was declared here 2332 | int r,g,bl; | ^~ [ 87%] Building C object fontforge/CMakeFiles/fontforge.dir/ttfinstrs.c.o /build/source/fontforge/featurefile.c: In function 'dump_contextpstglyphs': /build/source/fontforge/featurefile.c:657:17: warning: 'exit' may be used uninitialized [-Wmaybe-uninitialized] 657 | dump_anchorpoint(out,exit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/featurefile.c:653:38: note: 'exit' was declared here 653 | AnchorPoint *entry, *exit; | ^~~~ /build/source/fontforge/python.c: In function 'PyFF_Glyph_set_lcarets': /build/source/fontforge/python.c:7325:30: warning: 'carets' may be used uninitialized [-Wmaybe-uninitialized] 7325 | lcar->u.lcaret.carets = cnt > 0 ? carets : NULL; | ^ /build/source/fontforge/python.c:7288:14: note: 'carets' was declared here 7288 | int16_t *carets; | ^~~~~~ [ 87%] Building C object fontforge/CMakeFiles/fontforge.dir/ufo.c.o [ 88%] Building C object fontforge/CMakeFiles/fontforge.dir/ttfspecial.c.o [ 90%] Building C object fontforge/CMakeFiles/fontforge.dir/unicoderange.c.o [ 91%] Building C object fontforge/CMakeFiles/fontforge.dir/utanvec.c.o /build/source/fontforge/parsettfatt.c: In function 'morx_figure_ligatures': /build/source/fontforge/parsettfatt.c:3877:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 3877 | *comp = '\0'; | ~~~~~~^~~~~~ /build/source/fontforge/parsettfatt.c:3876:28: note: destination object of size 0 allocated by 'malloc' 3876 | comp = malloc(len); | ^~~~~~~~~~~ In file included from /build/source/fontforge/dumppfa.h:4, from /build/source/fontforge/parsepfa.c:30: In function 'switch_to_old_locale', inlined from '_ReadPSFont' at /build/source/fontforge/parsepfa.c:2648:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/parsepfa.c: In function '_ReadPSFont': /build/source/fontforge/parsepfa.c:2641:34: note: 'oldlocale' was declared here 2641 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/tottf.c: In function 'buildtablestructures': /build/source/fontforge/tottf.c:5550:67: warning: 'eblcpos' may be used uninitialized [-Wmaybe-uninitialized] 5550 | at->tabdir.tabs[i++].length = at->tabdir.tabs[eblcpos].length; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/source/fontforge/tottf.c:5391:18: note: 'eblcpos' was declared here 5391 | int ebdtpos, eblcpos; | ^~~~~~~ /build/source/fontforge/tottf.c:5531:67: warning: 'ebdtpos' may be used uninitialized [-Wmaybe-uninitialized] 5531 | at->tabdir.tabs[i++].length = at->tabdir.tabs[ebdtpos].length; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/source/fontforge/tottf.c:5391:9: note: 'ebdtpos' was declared here 5391 | int ebdtpos, eblcpos; | ^~~~~~~ In file included from /build/source/fontforge/dumppfa.h:4, from /build/source/fontforge/dumppfa.c:30: In function 'switch_to_old_locale', inlined from '_WritePSFont' at /build/source/fontforge/dumppfa.c:2649:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/dumppfa.c: In function '_WritePSFont': /build/source/fontforge/dumppfa.c:2638:34: note: 'oldlocale' was declared here 2638 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ [ 91%] Building C object fontforge/CMakeFiles/fontforge.dir/winfonts.c.o [ 92%] Building C object fontforge/CMakeFiles/fontforge.dir/woff.c.o [ 92%] Building C object fontforge/CMakeFiles/fontforge.dir/zapfnomen.c.o /build/source/fontforge/tottfaat.c: In function 'morx_lookupmap': /build/source/fontforge/tottfaat.c:618:24: warning: 'offset' may be used uninitialized [-Wmaybe-uninitialized] 618 | offset += 2*tot; | ~~~~~~~^~~~~~~~ /build/source/fontforge/tottfaat.c:592:41: note: 'offset' was declared here 592 | int i, j, k, l, seg_cnt, tot, last, offset; | ^~~~~~ [ 93%] Building CXX object fontforge/CMakeFiles/fontforge.dir/woff2.cc.o /build/source/fontforge/scripting.c: In function '_AddHint': /build/source/fontforge/scripting.c:6077:9: warning: 'start' may be used uninitialized [-Wmaybe-uninitialized] 6077 | int start, width; | ^~~~~ /build/source/fontforge/scripting.c:6096:27: warning: 'width' may be used uninitialized [-Wmaybe-uninitialized] 6096 | if ( width<=0 && width!=-20 && width!=-21 ) | ~~~~~^~~~~ /build/source/fontforge/scripting.c:6077:16: note: 'width' was declared here 6077 | int start, width; | ^~~~~ /build/source/fontforge/tottfaat.c: In function 'morx_dumpASM.isra': /build/source/fontforge/tottfaat.c:1313:15: warning: 'kernvalues' may be used uninitialized [-Wmaybe-uninitialized] 1313 | if ( !ttfcopyfile(temp,kernvalues,substable_pos,"kern-subtable")) at->error = true; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/tottfaat.c:1065:11: note: 'kernvalues' was declared here 1065 | FILE *kernvalues; | ^~~~~~~~~~ /build/source/fontforge/tottfaat.c:1308:27: warning: 'substable_pos' may be used uninitialized [-Wmaybe-uninitialized] 1308 | if ( substable_pos!=ftell(temp) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /build/source/fontforge/tottfaat.c:1061:27: note: 'substable_pos' was declared here 1061 | uint32_t start, here, substable_pos, state_offset; | ^~~~~~~~~~~~~ /build/source/fontforge/woff.c: In function '_SFReadWOFF': /build/source/fontforge/woff.c:363:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 363 | fread(temp,1,metaLenCompressed,woff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/scripting.c: In function 'bGetLookups': /build/source/fontforge/scripting.c:7399:31: warning: 'base' may be used uninitialized [-Wmaybe-uninitialized] 7399 | for ( otl=base, cnt=0; otl!=NULL; otl=otl->next, ++cnt ); | ^ /build/source/fontforge/scripting.c:7386:21: note: 'base' was declared here 7386 | OTLookup *otl, *base; | ^~~~ In function 'ArcsJoin', inlined from '_HandleJoin' at /build/source/fontforge/splinestroke.c:2108:6, inlined from 'HandleJoin.isra' at /build/source/fontforge/splinestroke.c:2132:12: /build/source/fontforge/splinestroke.c:2030:21: warning: 'clip_ratio' may be used uninitialized [-Wmaybe-uninitialized] 2030 | ci_fm = ArcClip(center_fm, r_fm, neg_fm, p_fm, i, clip_ratio); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splinestroke.c: In function 'HandleJoin.isra': /build/source/fontforge/splinestroke.c:1785:27: note: 'clip_ratio' was declared here 1785 | bigreal jlim, r_clip, clip_ratio, start_angle, end_angle; | ^~~~~~~~~~ /build/source/fontforge/sfd.c: In function 'SFD_Dump': /build/source/fontforge/sfd.c:2776:27: warning: argument 1 range [18446744065119617024, 18446744073709551612] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2776 | newgids = malloc(sf->glyphcnt*sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/source/inc/basics.h:39, from /build/source/fontforge/splinefont.h:31, from /build/source/fontforge/sfd.h:6, from /build/source/fontforge/sfd.c:30: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/fontforge/tottfgpos.c: In function 'dumpgposAnchorData': /build/source/fontforge/tottfgpos.c:1996:12: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] 1996 | if ( ap!=NULL && (ap->xadjust.corrections!=NULL || ap->yadjust.corrections!=NULL )) | ^ /build/source/fontforge/tottfgpos.c:1849:18: note: 'ap' was declared here 1849 | AnchorPoint *ap, **aps; | ^~ /build/source/fontforge/tottfaat.c: In function 'aat_dumplcar': /build/source/fontforge/tottfaat.c:459:24: warning: 'offset' may be used uninitialized [-Wmaybe-uninitialized] 459 | offset += 2 + 2*LigCaretCnt(sc); | ^~ /build/source/fontforge/tottfaat.c:442:41: note: 'offset' was declared here 442 | int i, j, k, l, seg_cnt, tot, last, offset; | ^~~~~~ /build/source/fontforge/stemdb.c: In function 'FindOrMakeHVStem': /build/source/fontforge/stemdb.c:1883:15: warning: 'stem' may be used uninitialized [-Wmaybe-uninitialized] 1883 | if ( stem == NULL && pd2 != NULL && !require_existing ) | ^ /build/source/fontforge/stemdb.c:1866:22: note: 'stem' was declared here 1866 | struct stemdata *stem; | ^~~~ /build/source/fontforge/parsettfatt.c: In function 'ttf_math_read_gvtable': /build/source/fontforge/parsettfatt.c:5414:47: warning: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 5414 | sprintf( ebuf, "%cpart%d", isv?'v':'h', i ); | ^~ /build/source/fontforge/parsettfatt.c:5414:40: note: directive argument in the range [1, 2147483646] 5414 | sprintf( ebuf, "%cpart%d", isv?'v':'h', i ); | ^~~~~~~~~~ In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdio.h:974, from /build/source/inc/basics.h:38, from /build/source/fontforge/splinefont.h:31, from /build/source/fontforge/psfont.h:31, from /build/source/fontforge/ttf.h:31, from /build/source/fontforge/parsettfatt.h:4, from /build/source/fontforge/parsettfatt.c:30: In function 'sprintf', inlined from 'ttf_math_read_gvtable' at /build/source/fontforge/parsettfatt.c:5414:4: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/fontforge/tottfaat.c: In function 'aat_dumpopbd': /build/source/fontforge/tottfaat.c:2047:28: warning: 'offset' may be used uninitialized [-Wmaybe-uninitialized] 2047 | offset += 2*tot; | ~~~~~~~^~~~~~~~ /build/source/fontforge/tottfaat.c:2002:41: note: 'offset' was declared here 2002 | int i, j, k, l, seg_cnt, tot, last, offset; | ^~~~~~ /build/source/fontforge/winfonts.c: In function 'FONFontDump': /build/source/fontforge/winfonts.c:1007:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1007 | fread(buf, 0x6D, 1, fntarray[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/lookups.c: In function 'KernClassContains': /build/source/fontforge/lookups.c:4669:32: warning: 'scpos1' may be used uninitialized [-Wmaybe-uninitialized] 4669 | if ( kc->offsets[scpos1*kc->second_cnt+kwpos2]!=0 ) | ~~~~~~^~~~~~~~~~~~~~~ /build/source/fontforge/lookups.c:4639:32: note: 'scpos1' was declared here 4639 | int infirst=0, insecond=0, scpos1, kwpos1, scpos2, kwpos2; | ^~~~~~ /build/source/fontforge/lookups.c:4674:36: warning: 'kwpos1' may be used uninitialized [-Wmaybe-uninitialized] 4674 | if ( kc->offsets[kwpos1*kc->second_cnt+scpos2]!=0 ) | ~~~~~~^~~~~~~~~~~~~~~ /build/source/fontforge/lookups.c:4639:40: note: 'kwpos1' was declared here 4639 | int infirst=0, insecond=0, scpos1, kwpos1, scpos2, kwpos2; | ^~~~~~ /build/source/fontforge/lookups.c:4674:51: warning: 'scpos2' may be used uninitialized [-Wmaybe-uninitialized] 4674 | if ( kc->offsets[kwpos1*kc->second_cnt+scpos2]!=0 ) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/source/fontforge/lookups.c:4639:48: note: 'scpos2' was declared here 4639 | int infirst=0, insecond=0, scpos1, kwpos1, scpos2, kwpos2; | ^~~~~~ /build/source/fontforge/lookups.c:4669:47: warning: 'kwpos2' may be used uninitialized [-Wmaybe-uninitialized] 4669 | if ( kc->offsets[scpos1*kc->second_cnt+kwpos2]!=0 ) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/source/fontforge/lookups.c:4639:56: note: 'kwpos2' was declared here 4639 | int infirst=0, insecond=0, scpos1, kwpos1, scpos2, kwpos2; | ^~~~~~ In function 'switch_to_old_locale', inlined from 'SFDWrite' at /build/source/fontforge/sfd.c:3062:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/sfd.c: In function 'SFDWrite': /build/source/fontforge/sfd.c:3049:34: note: 'oldlocale' was declared here 3049 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/splineorder2.c: In function 'SplineRefigure2': /build/source/fontforge/splineorder2.c:1321:15: warning: 'old.splines[0].b' may be used uninitialized [-Wmaybe-uninitialized] 1321 | if ( !RealNear(old.splines[0].b,spline->splines[0].b) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splineorder2.c:1237:12: note: 'old.splines[0].b' was declared here 1237 | Spline old; | ^~~ /build/source/fontforge/splineorder2.c:1322:18: warning: 'old.splines[0].c' may be used uninitialized [-Wmaybe-uninitialized] 1322 | !RealNear(old.splines[0].c,spline->splines[0].c) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splineorder2.c:1237:12: note: 'old.splines[0].c' was declared here 1237 | Spline old; | ^~~ /build/source/fontforge/splineorder2.c:1323:18: warning: 'old.splines[1].b' may be used uninitialized [-Wmaybe-uninitialized] 1323 | !RealNear(old.splines[1].b,spline->splines[1].b) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splineorder2.c:1237:12: note: 'old.splines[1].b' was declared here 1237 | Spline old; | ^~~ /build/source/fontforge/splineorder2.c:1324:18: warning: 'old.splines[1].c' may be used uninitialized [-Wmaybe-uninitialized] 1324 | !RealNear(old.splines[1].c,spline->splines[1].c) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/splineorder2.c:1237:12: note: 'old.splines[1].c' was declared here 1237 | Spline old; | ^~~ In function 'MMFillFromVAR', inlined from 'SFFillFromTTF' at /build/source/fontforge/parsettf.c:6270:2: /build/source/fontforge/parsettf.c:5910:20: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 5910 | mm->axismaps = calloc(v->axis_count,sizeof(struct axismap)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function 'SFFillFromTTF': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ In function 'bScale', inlined from 'bScale' at /build/source/fontforge/scripting.c:4469:13: /build/source/fontforge/scripting.c:4498:21: warning: 'args' may be used uninitialized [-Wmaybe-uninitialized] 4498 | xfact = args[1]/100.; | ~~~~^~~ /build/source/fontforge/scripting.c: In function 'bScale': /build/source/fontforge/scripting.c:4475:12: note: 'args' declared here 4475 | double args[6]; | ^~~~ In function 'bScale', inlined from 'bScale' at /build/source/fontforge/scripting.c:4469:13: /build/source/fontforge/scripting.c:4499:21: warning: 'args' may be used uninitialized [-Wmaybe-uninitialized] 4499 | yfact = args[2]/100.; | ~~~~^~~ /build/source/fontforge/scripting.c: In function 'bScale': /build/source/fontforge/scripting.c:4475:12: note: 'args' declared here 4475 | double args[6]; | ^~~~ /build/source/fontforge/stemdb.c: In function 'MarkDStemCorner': /build/source/fontforge/stemdb.c:4664:5: warning: 'stem' may be used uninitialized [-Wmaybe-uninitialized] 4664 | AddToStem( gd,stem,pd,NULL,2,false,false ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/stemdb.c:4616:22: note: 'stem' was declared here 4616 | struct stemdata *stem; | ^~~~ In function 'aat_dumpmorx_substitutions', inlined from 'aat_dumpmorx' at /build/source/fontforge/tottfaat.c:1931:18: /build/source/fontforge/tottfaat.c:681:19: warning: 'glyphs' may be used uninitialized [-Wmaybe-uninitialized] 681 | glyphs[gcnt] = NULL; maps[gcnt] = 0; | ^ /build/source/fontforge/tottfaat.c: In function 'aat_dumpmorx': /build/source/fontforge/tottfaat.c:651:29: note: 'glyphs' was declared here 651 | SplineChar *sc, *msc, **glyphs; | ^~~~~~ In function 'aat_dumpmorx_substitutions', inlined from 'aat_dumpmorx' at /build/source/fontforge/tottfaat.c:1931:18: /build/source/fontforge/tottfaat.c:681:38: warning: 'maps' may be used uninitialized [-Wmaybe-uninitialized] 681 | glyphs[gcnt] = NULL; maps[gcnt] = 0; | ^ /build/source/fontforge/tottfaat.c: In function 'aat_dumpmorx': /build/source/fontforge/tottfaat.c:652:15: note: 'maps' was declared here 652 | uint16_t *maps; | ^~~~ In function 'ApplyAppleStateMachine', inlined from 'ApplyLookup' at /build/source/fontforge/lookups.c:3815:2, inlined from 'ApplyTickedFeatures' at /build/source/fontforge/lookups.c:3897:3: /build/source/fontforge/lookups.c:3060:39: warning: 'kcnt' may be used uninitialized [-Wmaybe-uninitialized] 3060 | for ( i=0; iu.kern.kcnt; ++i ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/lookups.c: In function 'ApplyTickedFeatures': /build/source/fontforge/lookups.c:2995:24: note: 'kcnt' was declared here 2995 | int kern_stack[8], kcnt; /* Kerning state machines handle at most 8 glyphs */ | ^~~~ /build/source/fontforge/parsettf.c: In function '_SFReadTTF': /build/source/fontforge/parsettf.c:5359:36: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 9 and 29 [-Wformat-overflow=] 5359 | sprintf(buffer, "%.20s-%d", info->ordering, i ); | ^~ In function 'readttfpostnames', inlined from 'readttf' at /build/source/fontforge/parsettf.c:5636:5, inlined from '_SFReadTTF' at /build/source/fontforge/parsettf.c:6353:11: /build/source/fontforge/parsettf.c:5359:29: note: directive argument in the range [-2147483643, 2147483646] 5359 | sprintf(buffer, "%.20s-%d", info->ordering, i ); | ^~~~~~~~~~ In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdio.h:974, from /build/source/inc/basics.h:38: In function 'sprintf', inlined from 'readttfpostnames' at /build/source/fontforge/parsettf.c:5359:6, inlined from 'readttf' at /build/source/fontforge/parsettf.c:5636:5, inlined from '_SFReadTTF' at /build/source/fontforge/parsettf.c:6353:11: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 33 bytes into a destination of size 30 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'switch_to_old_locale', inlined from 'readttf' at /build/source/fontforge/parsettf.c:5607:2, inlined from '_SFReadTTF' at /build/source/fontforge/parsettf.c:6353:11: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/parsettf.c: In function '_SFReadTTF': /build/source/fontforge/parsettf.c:5555:34: note: 'oldlocale' was declared here 5555 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ In function 'readttfglyphs', inlined from 'readttf' at /build/source/fontforge/parsettf.c:5594:2, inlined from '_SFReadTTF' at /build/source/fontforge/parsettf.c:6353:11: /build/source/fontforge/parsettf.c:2280:19: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 2280 | info->chars = calloc(info->glyph_cnt,sizeof(SplineChar *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h: In function '_SFReadTTF': /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:679:14: note: in a call to allocation function 'calloc' declared here 679 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /build/source/fontforge/ufo.c: In function 'paddedVersionStr': /build/source/fontforge/ufo.c:121:26: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 121 | snprintf(buffer, 6, "%d.%03d", major, minor); | ^~ /build/source/fontforge/ufo.c:121:25: note: directive argument in the range [0, 2147483647] 121 | snprintf(buffer, 6, "%d.%03d", major, minor); | ^~~~~~~~~ /build/source/fontforge/ufo.c:121:25: note: directive argument in the range [0, 2147483647] In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdio.h:974, from /build/source/inc/basics.h:38, from /build/source/fontforge/splinefont.h:31, from /build/source/fontforge/edgelist.h:31, from /build/source/fontforge/autohint.h:4, from /build/source/fontforge/ufo.c:30: In function 'snprintf', inlined from 'paddedVersionStr' at /build/source/fontforge/ufo.c:121:5: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 22 bytes into a destination of size 6 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/fontforge/tottfgpos.c: In function 'dumpg___ContextChainCoverage.isra': /build/source/fontforge/tottfgpos.c:2608:13: warning: 'ibase' may be used uninitialized [-Wmaybe-uninitialized] 2608 | fseek(lfile,ibase+2*i,SEEK_SET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/tottfgpos.c:2533:35: note: 'ibase' was declared here 2533 | uint32_t base = ftell(lfile), ibase, lbase, bbase; | ^~~~~ /build/source/fontforge/winfonts.c:833:61: warning: '%s' directive writing up to 199 bytes into a region of size between 172 and 182 [-Wformat-overflow=] 833 | sprintf(non_resident_name, "FONTRES 100,%d,%d : %s %d", dpi[0], dpi[1], name, point_size); | ^~ ~~~~ /build/source/fontforge/winfonts.c:833:40: note: directive argument in the range [-32768, 32767] 833 | sprintf(non_resident_name, "FONTRES 100,%d,%d : %s %d", dpi[0], dpi[1], name, point_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdio.h:974, from /build/source/inc/basics.h:38, from /build/source/fontforge/splinefont.h:31, from /build/source/fontforge/winfonts.h:4, from /build/source/fontforge/winfonts.c:30: In function 'sprintf', inlined from 'FONFontDump' at /build/source/fontforge/winfonts.c:833:13: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 235 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /build/source/fontforge/winfonts.c: In function 'FONFontDump': /build/source/fontforge/winfonts.c:840:7: warning: 'dpi[0]' may be used uninitialized [-Wmaybe-uninitialized] 840 | if(dpi[0] <= 108) | ^ /build/source/fontforge/winfonts.c:769:23: note: 'dpi[0]' was declared here 769 | short point_size, dpi[2], align; | ^~~ /build/source/fontforge/splineutil2.c: In function 'SplineAddExtrema': /build/source/fontforge/splineutil2.c:2684:47: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 2684 | if (( x>b->minx && xmaxx && len=4 && c->a.argc<3 )) { | ^ /build/source/fontforge/scripting.c:2335:9: note: 'format' was declared here 2335 | int format, i, gid, flags=0; | ^~~~~~ /build/source/fontforge/scripting.c: In function 'bGenerateFamily': /build/source/fontforge/scripting.c:2069:22: warning: '*familysfs[0]' may be used uninitialized [-Wmaybe-uninitialized] 2069 | if ( familysfs[0][0]==NULL ) { | ~~~~~~~~~~~~^~~ /build/source/fontforge/stemdb.c: In function 'FigureStemActive': /build/source/fontforge/stemdb.c:3624:9: warning: '__builtin___memcpy_chk' writing between 18446743970630336512 and 18446744073709551568 bytes into a region of size 9223372036854775807 [-Wstringop-overflow=] 3624 | memcpy(stem->active,activespace,acnt*sizeof(struct segment)); | ^ /build/source/fontforge/stemdb.c:3623:24: note: destination object of size 9223372036854775807 allocated by 'malloc' 3623 | stem->active = malloc(acnt*sizeof(struct segment)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'SplinesFromLayers', inlined from 'SFSplinesFromLayers' at /build/source/fontforge/psread.c:2998:23: /build/source/fontforge/psread.c:2977:32: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 2977 | last->next = temp; | ~~~~~~~~~~~^~~~~~ /build/source/fontforge/psread.c: In function 'SFSplinesFromLayers': /build/source/fontforge/psread.c:2900:34: note: 'last' was declared here 2900 | SplinePointList *head=NULL, *last, *temp, *transed; | ^~~~ /build/source/fontforge/lookups.c: In function 'FPSTRule_From_Str': /build/source/fontforge/lookups.c:5198:36: warning: argument 1 range [18446744056529682432, 18446744073709551608] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 5198 | rule->u.coverage.ncovers = malloc(rule->u.coverage.ncnt*sizeof(char *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/source/inc/basics.h:39, from /build/source/fontforge/splinefont.h:31, from /build/source/fontforge/lookups.h:4, from /build/source/fontforge/lookups.c:31: /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:676:14: note: in a call to allocation function 'malloc' declared here 676 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /build/source/fontforge/psread.c: In function 'SplinesFromEntityChar': /build/source/fontforge/psread.c:3177:32: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 3177 | last->next = temp; | ~~~~~~~~~~~^~~~~~ /build/source/fontforge/psread.c:3093:34: note: 'last' was declared here 3093 | SplinePointList *head=NULL, *last, *temp, *transed; | ^~~~ In file included from /build/source/fontforge/sd.h:36, from /build/source/fontforge/svg.h:4, from /build/source/fontforge/svg.c:30: In function 'switch_to_old_locale', inlined from 'svg_sfdump' at /build/source/fontforge/svg.c:1020:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/svg.c: In function 'svg_sfdump': /build/source/fontforge/svg.c:957:34: note: 'oldlocale' was declared here 957 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ In function 'dumpcffcidhmtx', inlined from 'dumpcidglyphs' at /build/source/fontforge/tottf.c:2643:2: /build/source/fontforge/tottf.c:2517:20: warning: 'sf' may be used uninitialized [-Wmaybe-uninitialized] 2517 | sc = sf->glyphs[cid]; | ~~^~~~~~~~ /build/source/fontforge/tottf.c: In function 'dumpcidglyphs': /build/source/fontforge/tottf.c:2498:17: note: 'sf' was declared here 2498 | SplineFont *sf; | ^~ /build/source/fontforge/scripting.c: In function 'bDrawsSomething': /build/source/fontforge/scripting.c:6743:36: warning: 'gid' may be used uninitialized [-Wmaybe-uninitialized] 6743 | c->return_val.u.ival = gid!=-1 && SCDrawsSomething(sf->glyphs[gid]); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/scripting.c:6725:9: note: 'gid' was declared here 6725 | int gid; | ^~~ /build/source/fontforge/scripting.c: In function 'bWorthOutputting': /build/source/fontforge/scripting.c:6719:36: warning: 'gid' may be used uninitialized [-Wmaybe-uninitialized] 6719 | c->return_val.u.ival = gid!=-1 && SCWorthOutputting(sf->glyphs[gid]); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/scripting.c:6697:9: note: 'gid' was declared here 6697 | int gid; | ^~~ In function 'switch_to_old_locale', inlined from '_ExportSVG' at /build/source/fontforge/svg.c:1132:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/svg.c: In function '_ExportSVG': /build/source/fontforge/svg.c:1072:34: note: 'oldlocale' was declared here 1072 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/svg.c:1127:39: warning: 'orig' may be used uninitialized [-Wmaybe-uninitialized] 1127 | sc->layers[layer].splines = orig; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /build/source/fontforge/svg.c:1058:16: note: 'orig' was declared here 1058 | SplineSet *orig; | ^~~~ /build/source/fontforge/splinesave.c: In function 'SplineChar2PS.constprop.isra': /build/source/fontforge/splinesave.c:1525:17: warning: 'scs' may be used uninitialized [-Wmaybe-uninitialized] 1525 | if ( scs[0]->layers[gi->layer].splines!=NULL && i==instance_count ) { /* No conflicts */ | ~~~^~~ /build/source/fontforge/splinesave.c:1493:17: note: 'scs' declared here 1493 | SplineChar *scs[MmMax]; | ^~~ In function 'switch_to_old_locale', inlined from 'WriteUFOFontFlex' at /build/source/fontforge/ufo.c:1987:5, inlined from 'WriteUFOFontFlex' at /build/source/fontforge/ufo.c:1926:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/ufo.c: In function 'WriteUFOFontFlex': /build/source/fontforge/ufo.c:1941:34: note: 'oldlocale' was declared here 1941 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/scripting.c: In function 'bGetPosSub': /build/source/fontforge/scripting.c:8091:26: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 8091 | c->return_val.u.aval = ret; | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /build/source/fontforge/scripting.c:7955:12: note: 'ret' was declared here 7955 | Array *ret, *temp; | ^~~ In function 'switch_to_old_locale', inlined from '_SFReadSVG' at /build/source/fontforge/svg.c:3618:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/svg.c: In function '_SFReadSVG': /build/source/fontforge/svg.c:3615:34: note: 'oldlocale' was declared here 3615 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/tottf.c: In function 'SFDefaultOS2Info': /build/source/fontforge/tottf.c:3002:24: warning: 'hold.hhead_ascent' may be used uninitialized [-Wmaybe-uninitialized] 3002 | struct pfminfo hold; | ^~~~ /build/source/fontforge/tottf.c:3002:24: warning: 'hold.hhead_descent' may be used uninitialized [-Wmaybe-uninitialized] /build/source/fontforge/tottf.c:3065:38: warning: 'hold.hheadascent_add' may be used uninitialized [-Wmaybe-uninitialized] 3065 | pfminfo->hheadascent_add = hold.hheadascent_add; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/tottf.c:3002:24: note: 'hold.hheadascent_add' was declared here 3002 | struct pfminfo hold; | ^~~~ /build/source/fontforge/tottf.c:3065:38: warning: 'hold.hheaddescent_add' may be used uninitialized [-Wmaybe-uninitialized] 3065 | pfminfo->hheadascent_add = hold.hheadascent_add; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/tottf.c:3002:24: note: 'hold.hheaddescent_add' was declared here 3002 | struct pfminfo hold; | ^~~~ /build/source/fontforge/tottf.c:3069:30: warning: 'hold.linegap' may be used uninitialized [-Wmaybe-uninitialized] 3069 | pfminfo->linegap = hold.linegap; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /build/source/fontforge/tottf.c:3002:24: note: 'hold.linegap' was declared here 3002 | struct pfminfo hold; | ^~~~ /build/source/fontforge/tottf.c:3073:31: warning: 'hold.vlinegap' may be used uninitialized [-Wmaybe-uninitialized] 3073 | pfminfo->vlinegap = hold.vlinegap; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/source/fontforge/tottf.c:3002:24: note: 'hold.vlinegap' was declared here 3002 | struct pfminfo hold; | ^~~~ In file included from /build/source/fontforge/featurefile.h:4, from /build/source/fontforge/featurefile.c:32: In function 'switch_to_old_locale', inlined from 'FeatDumpFontLookups' at /build/source/fontforge/featurefile.c:1999:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/featurefile.c: In function 'FeatDumpFontLookups': /build/source/fontforge/featurefile.c:1989:34: note: 'oldlocale' was declared here 1989 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ In function 'switch_to_old_locale', inlined from 'SFReadUFO' at /build/source/fontforge/ufo.c:4353:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/ufo.c: In function 'SFReadUFO': /build/source/fontforge/ufo.c:3811:34: note: 'oldlocale' was declared here 3811 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ In function 'NeedsUCS2Table', inlined from 'dumpcmap' at /build/source/fontforge/tottf.c:4946:16: /build/source/fontforge/tottf.c:4639:43: warning: 'cur_delta_val' may be used uninitialized [-Wmaybe-uninitialized] 4639 | cmapseg[curseg].delta = cur_delta_val; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/source/fontforge/tottf.c: In function 'dumpcmap': /build/source/fontforge/tottf.c:4516:13: note: 'cur_delta_val' was declared here 4516 | int16_t cur_delta_val; | ^~~~~~~~~~~~~ In function 'switch_to_old_locale', inlined from 'SFApplyFeatureFile' at /build/source/fontforge/featurefile.c:7445:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/featurefile.c: In function 'SFApplyFeatureFile': /build/source/fontforge/featurefile.c:7442:34: note: 'oldlocale' was declared here 7442 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ In function 'switch_to_old_locale', inlined from 'SplinePointListInterpretGlif' at /build/source/fontforge/ufo.c:4374:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/ufo.c: In function 'SplinePointListInterpretGlif': /build/source/fontforge/ufo.c:4370:34: note: 'oldlocale' was declared here 4370 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/scripting.c: In function 'bAddAnchorPoint': /build/source/fontforge/scripting.c:6881:51: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 6881 | if (( type==at_baselig && t->type!=act_mklg ) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 6882 | ( type==at_basechar && t->type!=act_mark ) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/fontforge/scripting.c:6817:9: note: 'type' was declared here 6817 | int type; | ^~~~ /build/source/fontforge/scripting.c: In function 'bAddLookup': /build/source/fontforge/scripting.c:7256:22: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 7256 | otl->lookup_type = type; | ~~~~~~~~~~~~~~~~~^~~~~~ /build/source/fontforge/scripting.c:7180:9: note: 'type' was declared here 7180 | int type; | ^~~~ In function 'switch_to_old_locale', inlined from 'SFD_Read' at /build/source/fontforge/sfd.c:8961:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/sfd.c: In function 'SFD_Read': /build/source/fontforge/sfd.c:8956:34: note: 'oldlocale' was declared here 8956 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ In function 'switch_to_old_locale', inlined from 'SFDReadOneChar' at /build/source/fontforge/sfd.c:9096:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/sfd.c: In function 'SFDReadOneChar': /build/source/fontforge/sfd.c:9018:34: note: 'oldlocale' was declared here 9018 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ In function 'switch_to_old_locale', inlined from 'SFRecoverFile' at /build/source/fontforge/sfd.c:9324:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/sfd.c: In function 'SFRecoverFile': /build/source/fontforge/sfd.c:9315:34: note: 'oldlocale' was declared here 9315 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/scripting.c: In function '_bMoveReference': /build/source/fontforge/scripting.c:4920:10: warning: 'translate[0]' may be used uninitialized [-Wmaybe-uninitialized] 4920 | real translate[2], t[6]; | ^~~~~~~~~ /build/source/fontforge/scripting.c:4920:10: warning: 'translate[1]' may be used uninitialized [-Wmaybe-uninitialized] /build/source/fontforge/scripting.c: In function 'bSetGlyphClass': /build/source/fontforge/scripting.c:4111:29: warning: 'class' may be used uninitialized [-Wmaybe-uninitialized] 4111 | sc->glyph_class = class; | ~~~~~~~~~~~~~~~~^~~~~~~ /build/source/fontforge/scripting.c:4091:9: note: 'class' was declared here 4091 | int class, gid, i; | ^~~~~ In function 'switch_to_old_locale', inlined from 'SFAutoSave' at /build/source/fontforge/sfd.c:9379:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/sfd.c: In function 'SFAutoSave': /build/source/fontforge/sfd.c:9348:34: note: 'oldlocale' was declared here 9348 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/splineutil.c: In function 'Spline2DFindExtrema': /build/source/fontforge/splineutil.c:3935:32: warning: 'cur.y' may be used uninitialized [-Wmaybe-uninitialized] 3935 | (mid.y==last.y || mid.y==cur.y)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/source/fontforge/splineutil.c:3886:21: note: 'cur.y' was declared here 3886 | BasePoint last, cur, mid; | ^~~ /build/source/fontforge/splineutil.c:3934:29: warning: 'cur.x' may be used uninitialized [-Wmaybe-uninitialized] 3934 | if ( (mid.x==last.x || mid.x==cur.x) && | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /build/source/fontforge/splineutil.c:3886:21: note: 'cur.x' was declared here 3886 | BasePoint last, cur, mid; | ^~~ In file included from /build/source/fontforge/tottf.h:4, from /build/source/fontforge/tottf.c:30: In function 'switch_to_old_locale', inlined from '_WriteTTFFont' at /build/source/fontforge/tottf.c:6231:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/tottf.c: In function '_WriteTTFFont': /build/source/fontforge/tottf.c:6160:34: note: 'oldlocale' was declared here 6160 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/scripting.c: In function 'bSelectByColor': /build/source/fontforge/scripting.c:3162:47: warning: 'col' may be used uninitialized [-Wmaybe-uninitialized] 3162 | if ( c->curfv->selected[i]!=(sccol==col) ) | ~~~~~~^~~~~~ /build/source/fontforge/scripting.c:3125:9: note: 'col' was declared here 3125 | int col, sccol; | ^~~ In function 'switch_to_old_locale', inlined from '_WriteType42SFNTS' at /build/source/fontforge/tottf.c:6378:5: /build/source/fontforge/splinefont.h:1983:6: warning: 'oldlocale' may be used uninitialized [-Wmaybe-uninitialized] 1983 | if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); } | ^ /build/source/fontforge/tottf.c: In function '_WriteType42SFNTS': /build/source/fontforge/tottf.c:6361:34: note: 'oldlocale' was declared here 6361 | locale_t tmplocale; locale_t oldlocale; // Declare temporary locale storage. | ^~~~~~~~~ /build/source/fontforge/splineutil.c: In function 'SCRemoveDependent': /build/source/fontforge/splineutil.c:3256:8: warning: 'prev' may be used uninitialized [-Wmaybe-uninitialized] 3256 | if ( prev==NULL ) { | ^ /build/source/fontforge/splineutil.c:3241:14: note: 'prev' was declared here 3241 | RefChar *prev; | ^~~~ /build/source/fontforge/scripting.c: In function 'comp': /build/source/fontforge/scripting.c:9873:54: warning: 'cmp' may be used uninitialized [-Wmaybe-uninitialized] 9873 | else if ( tok==tt_ge ) val->u.ival = (cmp>=0); | ~~~~^~~~ /build/source/fontforge/scripting.c:9839:9: note: 'cmp' was declared here 9839 | int cmp; | ^~~ /build/source/fontforge/splineutil.c: In function 'SplineRemoveWildControlPoints': /build/source/fontforge/splineutil.c:7413:16: warning: 'changed' may be used uninitialized [-Wmaybe-uninitialized] 7413 | return changed; | ^~~~~~~ /build/source/fontforge/splineutil.c:7399:13: note: 'changed' was declared here 7399 | int changed; | ^~~~~~~ [ 93%] Linking CXX shared library ../lib/libfontforge.so [ 93%] Built target fontforge [ 94%] Building C object fontforgeexe/CMakeFiles/fontforgeexe.dir/main.c.o [ 95%] Building C object contrib/fonttools/CMakeFiles/ttf2eps.dir/ttf2eps.c.o [ 96%] Building C object pyhook/CMakeFiles/fontforge_pyhook.dir/fontforgepyhook.c.o [ 96%] Building C object fontforgeexe/CMakeFiles/fontforgeexe.dir/startnoui.c.o [ 97%] Building C object pyhook/CMakeFiles/psMat_pyhook.dir/psMatpyhook.c.o [ 97%] Building C object contrib/fonttools/CMakeFiles/acorn2sfd.dir/acorn2sfd.c.o [ 97%] Linking C shared module ../lib/fontforge.so [ 97%] Linking C shared module ../lib/psMat.so In function 'DumpSimpleGlyph', inlined from 'DoDumpGlyph' at /build/source/contrib/fonttools/ttf2eps.c:1082:2: /build/source/contrib/fonttools/ttf2eps.c:1010:23: warning: 'last_off' may be used uninitialized [-Wmaybe-uninitialized] 1010 | } else if ( last_off ) { | ^ /build/source/contrib/fonttools/ttf2eps.c: In function 'DoDumpGlyph': /build/source/contrib/fonttools/ttf2eps.c:934:25: note: 'last_off' was declared here 934 | int i, path, start, last_off; | ^~~~~~~~ In function 'DumpSpline', inlined from 'DumpSimpleGlyph' at /build/source/contrib/fonttools/ttf2eps.c:1039:6, inlined from 'DoDumpGlyph' at /build/source/contrib/fonttools/ttf2eps.c:1082:2: /build/source/contrib/fonttools/ttf2eps.c:911:13: warning: 'last.x' may be used uninitialized [-Wmaybe-uninitialized] 911 | fn.x = d+c/3; | ~^~~~ /build/source/contrib/fonttools/ttf2eps.c: In function 'DoDumpGlyph': /build/source/contrib/fonttools/ttf2eps.c:936:20: note: 'last.x' was declared here 936 | BasePoint mid, last, begin; | ^~~~ In function 'DumpSpline', inlined from 'DumpSimpleGlyph' at /build/source/contrib/fonttools/ttf2eps.c:1039:6, inlined from 'DoDumpGlyph' at /build/source/contrib/fonttools/ttf2eps.c:1082:2: /build/source/contrib/fonttools/ttf2eps.c:917:13: warning: 'last.y' may be used uninitialized [-Wmaybe-uninitialized] 917 | fn.y = d+c/3; | ~^~~~ /build/source/contrib/fonttools/ttf2eps.c: In function 'DoDumpGlyph': /build/source/contrib/fonttools/ttf2eps.c:936:20: note: 'last.y' was declared here 936 | BasePoint mid, last, begin; | ^~~~ [ 97%] Built target fontforge_pyhook [ 97%] Built target psMat_pyhook [ 98%] Linking C executable ../bin/fontforge /build/source/contrib/fonttools/ttf2eps.c: In function 'main': /build/source/contrib/fonttools/ttf2eps.c:1182:13: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 1182 | DumpGlyph(ttf,&info,val); | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/contrib/fonttools/ttf2eps.c:1109:21: note: 'val' was declared here 1109 | int doall=0, i, val; | ^~~ [ 98%] Built target fontforgeexe [ 98%] Linking C executable ../../bin/ttf2eps [ 98%] Built target ttf2eps [100%] Linking C executable ../../bin/acorn2sfd [100%] Built target acorn2sfd Running phase: glibPreInstallPhase Running phase: installPhase install flags: -j32 SHELL=/nix/store/hasnvc0j36gg6qrdsfcx7yivx3c2bpqr-bash-5.3p20/bin/bash gsettingsschemadir=/nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/gsettings-schemas/fontforge-20251009/glib-2.0/schemas/ install [ 11%] Built target pofiles [ 12%] Built target findtable [ 13%] Built target pcl2ttf [ 14%] Built target dewoff [ 17%] Built target woff [ 17%] Built target pfadecrypt [ 18%] Built target showttf [ 20%] Built target stripttc [ 21%] Built target rmligamarks [ 25%] Built target gunicode [ 38%] Built target gutils [ 93%] Built target fontforge [ 94%] Built target ttf2eps [ 95%] Built target fontforge_pyhook [ 96%] Built target psMat_pyhook [ 98%] Built target fontforgeexe [100%] Built target acorn2sfd Install the project... -- Install configuration: "Release" -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib/libfontforge.so.4 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib/libfontforge.so -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/fontforge -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/fontimage -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/fontlint -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/sfddiff -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/man1/fontforge.1 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/man1/sfddiff.1 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/man1/fontlint.1 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/man1/fontimage.1 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib/python3.14/site-packages/fontforge.so -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib/python3.14/site-packages/psMat.so -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/cidmap/Adobe-CNS1-6.cidmap -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/cidmap/Adobe-GB1-5.cidmap -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/cidmap/Adobe-Japan1-5.cidmap -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/cidmap/Adobe-Japan1-6.cidmap -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/cidmap/Adobe-Japan1-7.cidmap -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/cidmap/Adobe-Japan2-0.cidmap -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/cidmap/Adobe-Korea1-2.cidmap -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/acorn2sfd -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/dewoff -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/findtable -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/pcl2ttf -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/pfadecrypt -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/rmligamarks -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/showttf -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/stripttc -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/ttf2eps -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/woff -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/man1/acorn2sfd.1 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/man1/showttf.1 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/man1/ttf2eps.1 -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/python/excepthook.py -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/ca/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/de/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/el/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/en_GB/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/es/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/fr/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/hr/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/it/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/ja/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/ka_GE/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/ko/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/ml/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/pl/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/pt/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/ru/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/th_TH/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/tr_TR/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/uk/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/vi/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/zh_CN/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/locale/zh_TW/LC_MESSAGES/FontForge.mo -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/hotkeys/default -- Installing: /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/fontforge/prefs Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009 shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib/libfontforge.so.4 shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib/python3.14/site-packages/fontforge.so shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib/python3.14/site-packages/psMat.so shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/fontforge shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/acorn2sfd shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/dewoff shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/findtable shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/pcl2ttf shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/pfadecrypt shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/rmligamarks shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/showttf shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/stripttc shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/ttf2eps shrinking /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin/woff checking for references to /build/ in /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009... gzipping man pages under /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/share/man/ patching script interpreter paths in /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009 stripping (with command strip and flags -S -p) in /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/lib /nix/store/h02jp10p90wdnx4p6r58p5cm07jmyyxl-fontforge-20251009/bin