diff options
author | Mark Wielaard <mjw@redhat.com> | 2014-01-23 00:56:41 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2014-01-30 10:17:15 +0100 |
commit | f48eb6b15fee66e54b488d71738979fc608f25ee (patch) | |
tree | 22be2f2780909d8d61df125b29de5f3f60e52e97 /src/Makefile.am | |
parent | 13968d9aa9990d53999b14494ed55c2d68d4ead5 (diff) | |
download | elfutils-f48eb6b15fee66e54b488d71738979fc608f25ee.tar.gz |
Use -Wformat=2 by default for all files.
This just makes sure that all format strings are given as literals to
printf like functions so the compiler can see and check them. Remove
all no_Wformat, add -Wformat=2 unconditionally to AM_CFLAGS.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 9a78348f..e3711608 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to create Makefile.in ## -## Copyright (C) 1996-2013 Red Hat, Inc. +## Copyright (C) 1996-2014 Red Hat, Inc. ## This file is part of elfutils. ## ## This file is free software; you can redistribute it and/or modify @@ -88,10 +88,6 @@ if DEMANGLE demanglelib = -lstdc++ endif -nm_no_Wformat = yes -size_no_Wformat = yes -strings_no_Wformat = yes -addr2line_no_Wformat = yes # XXX While the file is not finished, don't warn about this ldgeneric_no_Wunused = yes |