fix gcc build of test_dos_blocker. update README and travis.yml

This commit is contained in:
arvidn 2015-06-04 21:58:02 -04:00
parent 086723dd76
commit 393f98f9ee
4 changed files with 21 additions and 5 deletions

View File

@ -5,7 +5,15 @@ before_script:
- if [ $TRAVIS_OS_NAME == osx ]; then sudo brew install boost boost-build; fi
script:
- cd test; bjam -j2
- cd test
- bjam -j2 $CC
- bjam -j2 variant=test_debug $CC
- bjam -j2 variant=test_relese $CC
- bjam -j2 variant=test_barebones $CC
compiler:
- gcc
- clang
os:
- linux

View File

@ -261,7 +261,6 @@ rule warnings ( properties * )
{
result += <cflags>-Wall ;
result += <cflags>-Wextra ;
result += <cflags>-Wno-format-zero-length ;
# enable these warnings again, once the other ones are dealt with
result += <cflags>-Wno-sign-compare ;

14
README
View File

@ -5,12 +5,20 @@ devices.
The main goals of libtorrent are to be efficient and easy to use.
See docs/index.html for more detailed build and usage instructions.
See `libtorrent.org`__ for more detailed build and usage instructions.
.. __: http://libtorrent.org
To build with boost-build, run:
b2
See docs/building.html for more details on how to build and which configuration
options are available.
See `building.html`__ for more details on how to build and which configuration
options are available. For python bindings, see `the python docs`__.
.. __: docs/building.rst
.. __: docs/python_binding.rst
.. image:: https://travis-ci.org/arvidn/libtorrent.svg?branch=master
:target: https://travis-ci.org/arvidn/libtorrent

View File

@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/kademlia/dht_observer.hpp"
#include "libtorrent/error_code.hpp"
#include "libtorrent/socket_io.hpp" // for print_endpoint
#include <stdarg.h>
using namespace libtorrent;