Use standard attribute syntax instead of IBM __attribute__

Move format attrs to proper standard location

For some reason, GCC 13 is more lax than earlier versions...
This commit is contained in:
ISSOtm
2024-03-28 00:47:58 +01:00
committed by Rangi42
parent 506911d7d0
commit cae7b5dcf6
11 changed files with 36 additions and 42 deletions

View File

@@ -198,7 +198,7 @@ int main(int argc, char *argv[]) {
// introduced to better match the `-I dir` option of gcc and clang.
case 'i':
warning(WARNING_OBSOLETE, "`-i` is deprecated; use `-I`\n");
// fallthrough
[[fallthrough]];
case 'I':
fstk_AddIncludePath(musl_optarg);
break;