Update android-config and fix build warning with android NDK

This commit is contained in:
Tatsuhiro Tsujikawa 2014-07-06 23:32:08 +09:00
parent 9cbedb16d0
commit d3ca003346
4 changed files with 9 additions and 1 deletions

View File

@ -36,6 +36,11 @@ PATH=$TOOLCHAIN/bin:$PATH
--host=arm-linux-androideabi \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
--with-xml-prefix="$PREFIX" \
--disable-python-bindings \
--disable-examples \
--enable-werror \
CC=clang \
CXX=clang++ \
CPPFLAGS="-I$PREFIX/include" \
PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig" \
LDFLAGS="-L$PREFIX/lib"

View File

@ -1784,6 +1784,7 @@ static int session_prep_frame(nghttp2_session *session,
} else {
/* Unreachable */
assert(0);
return 0;
}
}
@ -2221,6 +2222,7 @@ static int session_after_frame_sent(nghttp2_session *session)
}
/* Unreachable */
assert(0);
return 0;
}
ssize_t nghttp2_session_mem_send(nghttp2_session *session,

View File

@ -520,6 +520,7 @@ int Http2Session::initiate_connection()
// Unreachable
DIE();
return 0;
}
void Http2Session::unwrap_free_bev()

View File

@ -69,7 +69,7 @@ time_t timegm(struct tm *tm)
return -1;
}
}
return t;
return (time_t)t;
}
#endif /* !HAVE_TIMEGM */