Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 363374 Details for
Bug 491364
sys-block/thin-provisioning-tools-0.2.8-r1 with dev-libs/boost-1.55 - persistent-data/data-structures/bitset.cc:201:1: error: reference to ‘bitset’ is ambiguous
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prefix bitset with namespace to avoid ambiguity
bitset.patch (text/plain), 3.57 KB, created by
Denys Duchier
on 2013-11-16 16:56:44 UTC
(
hide
)
Description:
prefix bitset with namespace to avoid ambiguity
Filename:
MIME Type:
Creator:
Denys Duchier
Created:
2013-11-16 16:56:44 UTC
Size:
3.57 KB
patch
obsolete
>diff -ur thin-provisioning-tools-0.2.8.orig/caching/cache_check.cc thin-provisioning-tools-0.2.8/caching/cache_check.cc >--- thin-provisioning-tools-0.2.8.orig/caching/cache_check.cc 2013-10-17 11:09:25.000000000 +0200 >+++ thin-provisioning-tools-0.2.8/caching/cache_check.cc 2013-11-16 16:56:11.631873263 +0100 >@@ -254,7 +254,7 @@ > out << "examining discard bitset" << end_message(); > { > nested_output::nest _ = out.push(); >- bitset discards(tm, sb.discard_root, sb.discard_nr_blocks); >+ persistent_data::bitset discards(tm, sb.discard_root, sb.discard_nr_blocks); > } > } > } >diff -ur thin-provisioning-tools-0.2.8.orig/caching/metadata.cc thin-provisioning-tools-0.2.8/caching/metadata.cc >--- thin-provisioning-tools-0.2.8.orig/caching/metadata.cc 2013-10-17 11:09:25.000000000 +0200 >+++ thin-provisioning-tools-0.2.8/caching/metadata.cc 2013-11-16 16:16:49.763605658 +0100 >@@ -79,7 +79,7 @@ > // We can't instantiate the hint array yet, since we don't know the > // hint width. > >- discard_bits_ = bitset::ptr(new bitset(tm_)); >+ discard_bits_ = persistent_data::bitset::ptr(new persistent_data::bitset(tm_)); > } > > void >@@ -100,8 +100,8 @@ > sb_.hint_root, sb_.cache_blocks)); > > if (sb_.discard_root) >- discard_bits_ = bitset::ptr( >- new bitset(tm_, sb_.discard_root, sb_.discard_nr_blocks)); >+ discard_bits_ = persistent_data::bitset::ptr( >+ new persistent_data::bitset(tm_, sb_.discard_root, sb_.discard_nr_blocks)); > } > > void >diff -ur thin-provisioning-tools-0.2.8.orig/caching/metadata.h thin-provisioning-tools-0.2.8/caching/metadata.h >--- thin-provisioning-tools-0.2.8.orig/caching/metadata.h 2013-10-17 11:09:25.000000000 +0200 >+++ thin-provisioning-tools-0.2.8/caching/metadata.h 2013-11-16 16:31:39.410210742 +0100 >@@ -38,7 +38,7 @@ > checked_space_map::ptr metadata_sm_; > mapping_array::ptr mappings_; > hint_array::ptr hints_; >- bitset::ptr discard_bits_; >+ persistent_data::bitset::ptr discard_bits_; > > private: > void init_superblock(); >diff -ur thin-provisioning-tools-0.2.8.orig/persistent-data/data-structures/bitset.cc thin-provisioning-tools-0.2.8/persistent-data/data-structures/bitset.cc >--- thin-provisioning-tools-0.2.8.orig/persistent-data/data-structures/bitset.cc 2013-10-17 11:09:25.000000000 +0200 >+++ thin-provisioning-tools-0.2.8/persistent-data/data-structures/bitset.cc 2013-11-16 15:13:20.888582706 +0100 >@@ -198,54 +198,54 @@ > > //---------------------------------------------------------------- > >-bitset::bitset(tm_ptr tm) >+persistent_data::bitset::bitset(tm_ptr tm) > : impl_(new bitset_impl(tm)) > { > } > >-bitset::bitset(tm_ptr tm, block_address root, unsigned nr_bits) >+persistent_data::bitset::bitset(tm_ptr tm, block_address root, unsigned nr_bits) > : impl_(new bitset_impl(tm, root, nr_bits)) > { > } > > block_address >-bitset::get_root() const >+persistent_data::bitset::get_root() const > { > return impl_->get_root(); > } > > void >-bitset::grow(unsigned new_nr_bits, bool default_value) >+persistent_data::bitset::grow(unsigned new_nr_bits, bool default_value) > { > impl_->grow(new_nr_bits, default_value); > } > > void >-bitset::destroy() >+persistent_data::bitset::destroy() > { > impl_->destroy(); > } > > bool >-bitset::get(unsigned n) >+persistent_data::bitset::get(unsigned n) > { > return impl_->get(n); > } > > void >-bitset::set(unsigned n, bool value) >+persistent_data::bitset::set(unsigned n, bool value) > { > impl_->set(n, value); > } > > void >-bitset::flush() >+persistent_data::bitset::flush() > { > impl_->flush(); > } > > void >-bitset::walk_bitset(bitset_visitor &v) const >+persistent_data::bitset::walk_bitset(bitset_visitor &v) const > { > impl_->walk_bitset(v); > }
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 491364
:
363342
| 363374