Snippets for smlnj 2026.2 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/vxjqcqiz9lzj3f6j3vxgz8xqz8pwrmsl-smlnj-2026.2.drv.
-
../kernel/boot.c:609:21: warning: unused variable 'exportSzB' [-Wunused-variable] 609 | int exportSzB = 0; | ^~~~~~~~~ -
../kernel/boot.c:608:24: warning: unused variable 'remainingCode' [-Wunused-variable] 608 | int i, remainingCode, importRecLen; | ^~~~~~~~~~~~~ -
../kernel/boot.c:821:1: warning: control reaches end of non-void function [-Wreturn-type] 821 | } /* end of LookupPerID */ | ^ -
../kernel/boot.c:662:51: warning: 'hdr.importSect.offset' may be used uninitialized [-Wmaybe-uninitialized] 662 | Seek (file, archiveOffset + hdr.importSect.offset, fname); | ~~~~~~~~~~~~~~^~~~~~~ -
../kernel/boot.c:468:16: warning: 'hdr.isNative' may be used uninitialized [-Wmaybe-uninitialized] 468 | if (info->isNative) { | ^ -
../kernel/boot.c:473:37: warning: 'hdr.codeSect.size' may be used uninitialized [-Wmaybe-uninitialized] 473 | info->codeSect.size -= nb; | ^~ -
../kernel/boot.c:470:17: warning: 'hdr.codeSect.offset' may be used uninitialized [-Wmaybe-uninitialized] 470 | Seek(file, base + info->codeSect.offset, fname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../kernel/boot.c:676:16: warning: 'hdr.version' may be used uninitialized [-Wmaybe-uninitialized] 676 | if (hdr.version == 0x20250801) { | ^ -
../include/ml-objects.h:39:30: warning: 'hdr.nImports' may be used uninitialized [-Wmaybe-uninitialized] 39 | #define REC_SZB(n) (((n)+1)*sizeof(ml_val_t)) | ~~~~^~~ -
../kernel/boot.c:688:93: warning: 'hdr.exportSect.offset' may be used uninitialized [-Wmaybe-uninitialized] 688 | ReadBinFileAt (file, &exportPerID, sizeof(pers_id_t), archiveOffset + hdr.exportSect.offset, fname); | ~~~~~~~~~~~~~~^~~~~~~ -
../kernel/boot.c:687:8: warning: 'hdr.exportSect.size' may be used uninitialized [-Wmaybe-uninitialized] 687 | if (hdr.exportSect.size == sizeof(pers_id_t)) { | ^ -
../kernel/boot.c:698:86: warning: 'hdr.litsSect.offset' may be used uninitialized [-Wmaybe-uninitialized] 698 | ReadBinFileAt (file, dataObj, hdr.litsSect.size, archiveOffset + hdr.litsSect.offset, fname); | ~~~~~~~~~~~~^~~~~~~ -
../kernel/boot.c:696:8: warning: 'hdr.litsSect.size' may be used uninitialized [-Wmaybe-uninitialized] 696 | if (hdr.litsSect.size > 0) { | ^ -
../include/ml-objects.h:276:57: warning: 'hdr.entry' may be used uninitialized [-Wmaybe-uninitialized] 276 | #define REC_ALLOC1(msp, r, a) { (r) = ML_Alloc1((msp), (a)); } | ^~~~~~~~~~~~~~~~~~~~~ -
../mach-dep/signal-util.c:57:20: warning: variable 'j' set but not used [-Wunused-but-set-variable] 57 | int i, j, delta; | ^ -
../mach-dep/unix-signal.c:118:1: warning: control reaches end of non-void function [-Wreturn-type] 118 | } /* end of GetSignalState. */ | ^ -
export-fun.c:49:1: warning: control reaches end of non-void function [-Wreturn-type] 49 | } /* end of _ml_RunT_export_fun */ | ^ -
mkexec.c:28:17: warning: unused variable 'nbytes' [-Wunused-variable] 28 | Word_t nbytes = GET_SEQ_LEN(seq); | ^~~~~~ -
localtime.c:34:1: warning: control reaches end of non-void function [-Wreturn-type] 34 | } /* end of _ml_Date_localtime */ | ^ -
exit.c:23:1: warning: control reaches end of non-void function [-Wreturn-type] 23 | } /* end of _ml_P_Process_exit */ | ^ -
init-gc.c:221:24: warning: 'max_sz' may be used uninitialized [-Wmaybe-uninitialized] 221 | max_sz = (5*max_sz)/2; | ~~^~~~~~~~ -
copy-loop.h:22:33: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 22 | #define COPYLOOP(SRC,DST,LEN) Copy(SRC,DST,LEN) | ^~~~~~~~~~~~~~~~~ -
minor-gc.c:364:13: warning: 'arena' may be used uninitialized [-Wmaybe-uninitialized] 364 | new_obj = arena->nextw; | ~~~~~~~~^~~~~~~~~~~~~~ -
major-gc.c:802:26: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 802 | arena->nextw += (len + 1); | ~~~~~^~~~ -
major-gc.c:803:16: warning: 'desc' may be used uninitialized [-Wmaybe-uninitialized] 803 | *new_obj++ = desc; | ~~~~~~~~~~~^~~~~~ -
major-gc.c:801:13: warning: 'arena' may be used uninitialized [-Wmaybe-uninitialized] 801 | new_obj = arena->nextw; | ~~~~~~~~^~~~~~~~~~~~~~ -
build-literals.c:471:25: warning: variable 'maxDepth' set but not used [-Wunused-but-set-variable] 471 | Unsigned32_t magic, maxDepth, wordSz, maxSaved; | ^~~~~~~~ -
build-literals.c:868:45: warning: 'arg.uArg' may be used uninitialized [-Wmaybe-uninitialized] 868 | PUSH (PTR_MLtoC(ml_val_t, saved)[arg.uArg]); | ^ -
blast-out.c:115:30: warning: variable 'arenaHdrs' set but not used [-Wunused-but-set-variable] 115 | heap_arena_hdr_t *p, *arenaHdrs[NUM_OBJ_KINDS], *arenaHdrsBuf; | ^~~~~~~~~ -
blast-gc.c:300:17: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 300 | bool_t dummy = FALSE; | ^~~~~ -
blast-gc.c:707:26: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 707 | arena->nextw += (len + 1); | ~~~~~^~~~ -
blast-gc.c:708:16: warning: 'desc' may be used uninitialized [-Wmaybe-uninitialized] 708 | *new_obj++ = desc; | ~~~~~~~~~~~^~~~~~ -
blast-gc.c:706:13: warning: 'arena' may be used uninitialized [-Wmaybe-uninitialized] 706 | new_obj = arena->nextw; | ~~~~~~~~^~~~~~~~~~~~~~ -
blast-gc.c:863:8: warning: 'objSzB' may be used uninitialized [-Wmaybe-uninitialized] 863 | if (objSzB != 0) { | ^ -
mem-writer.c:89:18: warning: unused variable 'bp' [-Wunused-variable] 89 | wr_buffer_t *bp = BufOf(wr); | ^~ -
mem-writer.c:101:1: warning: no return statement in function returning non-void [-Wreturn-type] 101 | } /* end of Tell */ | ^ -
mem-writer.c:115:18: warning: unused variable 'bp' [-Wunused-variable] 115 | wr_buffer_t *bp = BufOf(wr); | ^~ -
include/asdl/asdl-stream.hpp:127:34: warning: control reaches end of non-void function [-Wreturn-type] 127 | this->invalidIOState (this->_is->rdstate()); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
include/asdl/asdl-stream.hpp:119:34: warning: control reaches end of non-void function [-Wreturn-type] 119 | this->invalidIOState (this->_is->rdstate()); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~