mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
configure: remove Weffc++
By popular demand, too many false positives with C++11 Change-Id: I1fb4a99de63005d28944fc024a1cab2094133feb
This commit is contained in:

committed by
Tristan Matthews

parent
2db6e7a4b2
commit
51fe7727d6
@ -33,11 +33,9 @@
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Weffc++"
|
||||
#include <dbus-c++/dbus.h>
|
||||
#pragma GCC diagnostic warning "-Wignored-qualifiers"
|
||||
#pragma GCC diagnostic warning "-Wshadow"
|
||||
#pragma GCC diagnostic warning "-Wunused-parameter"
|
||||
#pragma GCC diagnostic warning "-Weffc++"
|
||||
|
||||
#endif // DBUS_CPP_WRAPPER_H_
|
||||
|
@ -510,7 +510,7 @@ dnl debug mode is default-disabled
|
||||
AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug], [Build in debug mode, adds stricter warnings, disables optimization]))
|
||||
|
||||
AS_IF([test "x$enable_debug" = "xyes"],
|
||||
[CXXFLAGS="${CXXFLAGS} -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -Weffc++ -O0"])
|
||||
[CXXFLAGS="${CXXFLAGS} -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -O0"])
|
||||
|
||||
dnl What Makefiles to generate
|
||||
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "ip_utils.h"
|
||||
#include "noncopyable.h"
|
||||
|
||||
#pragma GCC diagnostic ignored "-Weffc++"
|
||||
#include <ccrtp/rtp.h>
|
||||
#include <ccrtp/iqueue.h>
|
||||
|
||||
@ -110,6 +109,5 @@ class AudioSymmetricRtpSessionIPv6 : public ost::SymmetricRTPSessionIPV6, public
|
||||
#endif // HAVE_IPV6
|
||||
|
||||
}
|
||||
#pragma GCC diagnostic warning "-Weffc++"
|
||||
#endif // AUDIO_SYMMETRIC_RTP_SESSION_H__
|
||||
|
||||
|
@ -30,7 +30,6 @@
|
||||
#ifndef __AUDIO_ZRTP_SESSION_H__
|
||||
#define __AUDIO_ZRTP_SESSION_H__
|
||||
|
||||
#pragma GCC diagnostic ignored "-Weffc++"
|
||||
#include <cstddef>
|
||||
#include <stdexcept>
|
||||
|
||||
|
Reference in New Issue
Block a user