Skip to content
Snippets Groups Projects
Commit a4656fb5 authored by Danny Auble's avatar Danny Auble
Browse files

Ignore warnings about depricated functions. This is primarily there for

new glibc 2.24+ that depricates readdir_r.
parent cdc3214e
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,8 @@ documents those changes that are of interest to users and administrators.
a comma-separated list.
-- Cray - Fix issue restoring jobs when blade count increases due to hardware
reconfiguration.
-- Ignore warnings about depricated functions. This is primarily there for
new glibc 2.24+ that depricates readdir_r.
* Changes in Slurm 15.08.12
===========================
......
......@@ -34,8 +34,8 @@ AC_DEFUN([X_AC_DEBUG], [
]
)
if test "$x_ac_developer" = yes; then
test "$GCC" = yes && CFLAGS="$CFLAGS -Werror"
test "$GXX" = yes && CXXFLAGS="$CXXFLAGS -Werror"
test "$GCC" = yes && CFLAGS="$CFLAGS -Wno-deprecated-declarations -Werror"
test "$GXX" = yes && CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations -Werror"
# automatically turn on --enable-debug if being a developer
x_ac_debug=yes
else
......@@ -61,8 +61,8 @@ AC_DEFUN([X_AC_DEBUG], [
if test "$x_ac_debug" = yes; then
# you will most likely get a -O2 in you compile line, but the last option
# is the only one that is looked at.
test "$GCC" = yes && CFLAGS="$CFLAGS -Wall -g -O0 -fno-strict-aliasing"
test "$GXX" = yes && CXXFLAGS="$CXXFLAGS -Wall -g -O0 -fno-strict-aliasing"
test "$GCC" = yes && CFLAGS="$CFLAGS -Wno-deprecated-declarations -Wall -g -O0 -fno-strict-aliasing"
test "$GXX" = yes && CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations -Wall -g -O0 -fno-strict-aliasing"
fi
AC_MSG_RESULT([${x_ac_debug=no}])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment