Added printf format checking to logging function.

This also required changing the logging of "" at the
start of each test to appeal the otherwise-friendly
compiler.
This commit is contained in:
Lee Duncan
2013-02-13 12:37:55 -08:00
committed by Ronnie Sahlberg
parent a1590cf30c
commit 990af4a427
86 changed files with 98 additions and 85 deletions

View File

@@ -2,7 +2,8 @@
ACLOCAL_AMFLAGS =-I m4
AUTOMAKE_OPTIONS = foreign subdir-objects
AM_CPPFLAGS=-I. -I$(srcdir)/include "-D_U_=__attribute__((unused))"
AM_CPPFLAGS=-I. -I$(srcdir)/include "-D_U_=__attribute__((unused))" \
"-D_R_(A,B)=__attribute__((format(printf,A,B)))"
AM_CFLAGS=$(WARN_CFLAGS)
LDADD = lib/libiscsi.la -lpopt