fix gcc build of test_dos_blocker. update README and travis.yml
This commit is contained in:
parent
086723dd76
commit
393f98f9ee
10
.travis.yml
10
.travis.yml
|
@ -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
|
||||
|
|
1
Jamfile
1
Jamfile
|
@ -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
14
README
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue