From 417131fb9ad3f6dd7177a338cc5f143dec4d75f0 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 25 Feb 2011 16:30:20 -0600 Subject: [PATCH] HACKING: Update status of format checking Hopefully all functions with printf like arguments now use format checking. This was tested with default build configuration on linux and windows hosts (including some cross compilations), so chances are good that there remain few (if any) functions without format checking. Therefore the last comment in HACKING is no longer valid but misleading. Cc: Blue Swirl Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- HACKING | 3 --- 1 file changed, 3 deletions(-) diff --git a/HACKING b/HACKING index 6ba9d7e740..3af53fdcb8 100644 --- a/HACKING +++ b/HACKING @@ -120,6 +120,3 @@ gcc's printf attribute directive in the prototype. This makes it so gcc's -Wformat and -Wformat-security options can do their jobs and cross-check format strings with the number and types of arguments. - -Currently many functions in QEMU are not following this rule but -patches to add the attribute would be very much appreciated. -- GitLab