Skip to content

Commit 7683c15

Browse files
committed
Enable deprecation warnings
1 parent 704337b commit 7683c15

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

Makefile.am

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@ if FATAL_WARNINGS
7171
COMMON_TESTING_FLAGS += -Werror
7272
COMMON_TESTING_PROTOBUF_FLAGS += -Werror -Wno-error=unused-parameter \
7373
-Wno-error=deprecated-declarations
74-
75-
if GNU_PLUS_PLUS_11_DEPRECATIONS
76-
# We have to use gnu++11 for some reason, so stop it complaining about
77-
# auto_ptr
78-
COMMON_CXXFLAGS += -Wno-error=deprecated-declarations
79-
COMMON_TESTING_FLAGS += -Wno-error=deprecated-declarations
80-
endif
8174
endif
8275
endif
8376

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ AS_IF([test "x$ac_cv_gnu_plus_plus_11" = xyes],
132132
])
133133
AS_IF([test "x$require_gnu_plus_plus_11" = xyes],
134134
[CXXFLAGS="$CXXFLAGS -std=gnu++11"])
135-
AM_CONDITIONAL([GNU_PLUS_PLUS_11_DEPRECATIONS], [test "x$require_gnu_plus_plus_11" = xyes])
136135

137136
# Checks for header files.
138137
AC_HEADER_DIRENT

0 commit comments

Comments
 (0)