Skip to content

Commit

Permalink
Add "-Werror -Wno-error=" to the default CFLAGS.
Browse files Browse the repository at this point in the history
  • Loading branch information
xsdg committed Jan 4, 2017
1 parent 549edfd commit 5b98d32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ dnl GNU General Public License for more details.
AC_PREREQ(2.57)
AC_INIT([geeqie], m4_esyscmd_s(git rev-parse --quiet --verify --short master), [geeqie-devel@lists.sourceforge.net], [], [http://www.geeqie.org/])

# Add -Werror to the default CFLAGS
CFLAGS+=" -Werror -Wno-error=deprecated-declarations"

# Check for rightly dirs
AC_CONFIG_SRCDIR([src/main.c])

Expand Down

0 comments on commit 5b98d32

Please sign in to comment.