Fix all warnings except for those related to deprecated API.

Silence deprecated API warnings.

Closes: #748416
This commit is contained in:
Carlos Maddela
2016-12-22 11:52:02 +11:00
parent 5f8bcae4b3
commit a8f06a0b4d
3 changed files with 527 additions and 1 deletions

2
debian/rules vendored
View File

@@ -3,7 +3,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export DEB_CFLAGS_MAINT_APPEND = $(CPPFLAGS)
export DEB_CFLAGS_MAINT_APPEND = $(CPPFLAGS) -Wall -Wno-deprecated-declarations -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%: