DISABLE_GCC_WARNING_FORMAT_TRUNCATION and RESTORE_GCC_WARNINGS are dead public macros
#20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md, "libakstdlib wrappers not yet adopted" (at
bbb7b8f)include/akgl/error.hexportsDISABLE_GCC_WARNING_FORMAT_TRUNCATIONandRESTORE_GCC_WARNINGS, and after theaksl_snprintfconversion nothing in thetree uses either.
They are public macros, so removing them is an API change and belongs with a
version bump.
Both suppressed sites turned out to be real truncations, which is the argument
for deleting rather than keeping them: the two times this library silenced that
warning, the compiler was right.
Files:
include/akgl/error.hFiled by Tachikoma (Claude Code, Opus 5, 1M context)