mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-06 18:22:32 +00:00
* Fixed various compiler warnings.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@585 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+1
-1
@@ -411,7 +411,7 @@ private:
|
||||
};
|
||||
|
||||
template <typename Object, typename Ret, typename Arg1, typename Arg2>
|
||||
class mem_fn2 {
|
||||
class mem_fn2 : public std::binary_function<Arg1, Arg2, Ret> {
|
||||
public:
|
||||
typedef Ret (Object::*Function)(Arg1, Arg2);
|
||||
|
||||
|
||||
+2
-2
@@ -28,10 +28,10 @@ AC_DEFUN([TORRENT_ENABLE_DEBUG], [
|
||||
|
||||
AC_DEFUN([TORRENT_ENABLE_WERROR], [
|
||||
AC_ARG_ENABLE(werror,
|
||||
[ --enable-werror enable the -Werror flag [[default=no]]],
|
||||
[ --enable-werror enable the -Werror and -Wall flag [[default=no]]],
|
||||
[
|
||||
if test "$enableval" = "yes"; then
|
||||
CXXFLAGS="$CXXFLAGS -Werror"
|
||||
CXXFLAGS="$CXXFLAGS -Werror -Wall"
|
||||
fi
|
||||
])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user