Thanks for this awesome piece of software that I hope to use A LOT in the future. Congratulations on the IMMACULATE selection of compile / link flags, this is what responsibility looks like! I saw these 2 warnings while compiling with GCC here, maybe you are interested :)
include/buddy_alloc/buddy_alloc.h: In function 'depth_for_size':
include/buddy_alloc/buddy_alloc.h:1121:13: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion]
1121 | depth = count_trailing_zeroes(effective_memory_size) + 1
| ^~~~~~~~~~~~~~~~~~~~~
include/buddy_alloc/buddy_alloc.h: In function 'buddy_tree_fragmentation':
include/buddy_alloc/buddy_alloc.h:1998:28: warning: conversion from 'size_t' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion]
1998 | return fractional_mask - (quality_percent & fractional_mask);
gcc (GCC) 14.2.1 20250405
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
Thanks for this awesome piece of software that I hope to use A LOT in the future. Congratulations on the IMMACULATE selection of compile / link flags, this is what responsibility looks like! I saw these 2 warnings while compiling with GCC here, maybe you are interested :)