Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 269609 Details for
Bug 363243
net-libs/libtorrent-{0.12.6,0.12.7} with gcc-4.6 - ./../../torrent/data/block_transfer.h:60:73: error: ‘NULL’ was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libtorrent-0.12.6-gcc46.patch
libtorrent-0.12.6-gcc46.patch (text/plain), 1.42 KB, created by
iGentoo
on 2011-04-12 07:06:28 UTC
(
hide
)
Description:
libtorrent-0.12.6-gcc46.patch
Filename:
MIME Type:
Creator:
iGentoo
Created:
2011-04-12 07:06:28 UTC
Size:
1.42 KB
patch
obsolete
> src/data/memory_chunk.cc | 2 +- > src/torrent/data/block.h | 1 + > src/torrent/data/block_transfer.h | 1 + > 3 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/src/data/memory_chunk.cc b/src/data/memory_chunk.cc >index 8cc9e82..c741820 100644 >--- a/src/data/memory_chunk.cc >+++ b/src/data/memory_chunk.cc >@@ -71,7 +71,7 @@ MemoryChunk::MemoryChunk(char* ptr, char* begin, char* end, int prot, int flags) > if (page_align() >= m_pagesize) > throw internal_error("MemoryChunk::MemoryChunk(...) received an page alignment >= page size"); > >- if ((ptrdiff_t)ptr % m_pagesize) >+ if ((std::ptrdiff_t)ptr % m_pagesize) > throw internal_error("MemoryChunk::MemoryChunk(...) is not aligned to a page"); > } > >diff --git a/src/torrent/data/block.h b/src/torrent/data/block.h >index cfbe576..fb4f1a2 100644 >--- a/src/torrent/data/block.h >+++ b/src/torrent/data/block.h >@@ -37,6 +37,7 @@ > #ifndef LIBTORRENT_BLOCK_H > #define LIBTORRENT_BLOCK_H > >+#include <cstddef> > #include <vector> > #include <torrent/common.h> > #include <torrent/data/block_transfer.h> >diff --git a/src/torrent/data/block_transfer.h b/src/torrent/data/block_transfer.h >index 68bdc8e..f192340 100644 >--- a/src/torrent/data/block_transfer.h >+++ b/src/torrent/data/block_transfer.h >@@ -37,6 +37,7 @@ > #ifndef LIBTORRENT_BLOCK_TRANSFER_H > #define LIBTORRENT_BLOCK_TRANSFER_H > >+#include <cstddef> > #include <torrent/common.h> > #include <torrent/data/piece.h> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 363243
:
269607
| 269609