diff --git a/2024/maffiodo/README.md b/2024/maffiodo/README.md index 4adff1a97..12f240ce9 100644 --- a/2024/maffiodo/README.md +++ b/2024/maffiodo/README.md @@ -76,7 +76,7 @@ Disabled warnings via Makefile: are the same functions that uses implicit int as return type but do not use any return statement) - **Wno-deprecated-non-prototype** because on clang some function pointers like - strdup(char*) is aliased as (*)() without any explicit parameter. On gcc this + `strdup(char*)` is aliased as `(*)()` without any explicit parameter. On gcc this is not a problem but on MacOS clang this is needed to suppress a warning - **Wno-deprecated-declarations** (probably not needed) on clang sprintf is deprecated because is always better to use snprintf. This warning need to be diff --git a/2024/maffiodo/index.html b/2024/maffiodo/index.html index 5cb96f494..fc4510e4c 100644 --- a/2024/maffiodo/index.html +++ b/2024/maffiodo/index.html @@ -517,7 +517,7 @@ pointers are the same functions that uses implicit int as return type but do not use any return statement)
  • Wno-deprecated-non-prototype because on clang some function pointers like -strdup(char) is aliased as ()() without any explicit parameter. On gcc this +strdup(char*) is aliased as (*)() without any explicit parameter. On gcc this is not a problem but on MacOS clang this is needed to suppress a warning
  • Wno-deprecated-declarations (probably not needed) on clang sprintf is deprecated because is always better to use snprintf. This warning need to be