diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-02-25 16:30:20 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-02-25 16:31:05 -0600 |
commit | 417131fb9ad3f6dd7177a338cc5f143dec4d75f0 (patch) | |
tree | 4ae4f57e4c3945f87192b9561c1b57a4ad0f825c | |
parent | c53af37f375ce9c4999ff451c51173bdc1167e67 (diff) |
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 <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | HACKING | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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. |