Comments (9)
@alex85k: Can you verify this works now?
from libosmium.
Yes, this seems to be fixed. Thank you!
from libosmium.
Sorry, it is not so clear - different task-related error showed:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xrefwrap(269): error C2280: 'std::_Callable_base<_Ty,false>::_Callable_base(const std::_Callable_base<_Ty,false> &)' : attempting to reference a deleted function [D:\build_d\libosmium2\build-cmake\examples\osmium_area_test.vcxproj]
with
[
_Ty=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xrefwrap(198) : compiler has generated 'std::_Callable_base<_Ty,false>::_Callable_base' here
with
[
_Ty=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(180) : see reference to function template instantiation 'std::_Callable_obj<osmium::io::detail::XMLParser,false>::_Callable_obj<_Callable&>(_Ty2)' being compiled
with
[
_Callable=_MyWrapper
, _Ty2=_MyWrapper &
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(180) : see reference to function template instantiation 'std::_Callable_obj<osmium::io::detail::XMLParser,false>::_Callable_obj<_Callable&>(_Ty2)' being compiled
with
[
_Callable=_MyWrapper
, _Ty2=_MyWrapper &
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(177) : while compiling class template member function 'std::_Func_impl<_MyWrapper,_Alloc,_Ret,>::_Func_impl(std::_Func_impl<_MyWrapper,_Alloc,_Ret,> &)'
with
[
_Alloc=std::allocator<std::_Func_class<bool,>>
, _Ret=bool
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(209) : see reference to function template instantiation 'std::_Func_impl<_MyWrapper,_Alloc,_Ret,>::_Func_impl(std::_Func_impl<_MyWrapper,_Alloc,_Ret,> &)' being compiled
with
[
_Alloc=std::allocator<std::_Func_class<bool,>>
, _Ret=bool
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(495) : see reference to class template instantiation 'std::_Func_impl<_MyWrapper,_Alloc,_Ret,>' being compiled
with
[
_Alloc=std::allocator<std::_Func_class<bool,>>
, _Ret=bool
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(396) : see reference to function template instantiation 'void std::_Func_class<_Ret,>::_Do_alloc<_Myimpl,_Ty,_Alloc>(_Fty &&,_Alloc)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Alloc=std::allocator<std::_Func_class<bool,>>
, _Fty=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(396) : see reference to function template instantiation 'void std::_Func_class<_Ret,>::_Do_alloc<_Myimpl,_Ty,_Alloc>(_Fty &&,_Alloc)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Alloc=std::allocator<std::_Func_class<bool,>>
, _Fty=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(385) : see reference to function template instantiation 'void std::_Func_class<_Ret,>::_Reset_alloc<_Ty,std::allocator<std::_Func_class<_Ret,>>>(_Fty &&,_Alloc)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fty=osmium::io::detail::XMLParser
, _Alloc=std::allocator<std::_Func_class<bool,>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(385) : see reference to function template instantiation 'void std::_Func_class<_Ret,>::_Reset_alloc<_Ty,std::allocator<std::_Func_class<_Ret,>>>(_Fty &&,_Alloc)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fty=osmium::io::detail::XMLParser
, _Alloc=std::allocator<std::_Func_class<bool,>>
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(671) : see reference to function template instantiation 'void std::_Func_class<_Ret,>::_Reset<_Ty>(_Fty &&)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fty=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\functional(671) : see reference to function template instantiation 'void std::_Func_class<_Ret,>::_Reset<_Ty>(_Fty &&)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fty=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\future(588) : see reference to function template instantiation 'std::function<_Ret (void)>::function<_Ty>(_Fx &&)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fx=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\future(588) : see reference to function template instantiation 'std::function<_Ret (void)>::function<_Ty>(_Fx &&)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fx=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\future(1742) : see reference to function template instantiation 'std::_Packaged_state<_Ret (void)>::_Packaged_state<_Ty>(_Fty2 &&)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fty2=osmium::io::detail::XMLParser
]
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\future(1744) : see reference to function template instantiation 'std::_Packaged_state<_Ret (void)>::_Packaged_state<_Ty>(_Fty2 &&)' being compiled
with
[
_Ret=bool
, _Ty=osmium::io::detail::XMLParser
, _Fty2=osmium::io::detail::XMLParser
]
D:\build_d\libosmium2\include\osmium/thread/checked_task.hpp(55) : see reference to function template instantiation 'std::packaged_task<bool (void)>::packaged_task<osmium::io::detail::XMLParser>(_Fty2 &&)' being compiled
with
[
_Fty2=osmium::io::detail::XMLParser
]
D:\build_d\libosmium2\include\osmium/thread/checked_task.hpp(55) : see reference to function template instantiation 'std::packaged_task<bool (void)>::packaged_task<osmium::io::detail::XMLParser>(_Fty2 &&)' being compiled
with
[
_Fty2=osmium::io::detail::XMLParser
]
D:\build_d\libosmium2\include\osmium/io/detail/xml_input_format.hpp(602) : see reference to function template instantiation 'osmium::thread::CheckedTask<osmium::io::detail::XMLParser>::CheckedTask<osmium::thread::Queue<std::string>&,osmium::thread::Queue<osmium::memory::Buffer>&,std::promise<osmium::io::Header>&,osmium::osm_entity_bits::type&,std::atomic<bool>&>(osmium::thread::Queue<std::string> &,osmium::thread::Queue<osmium::memory::Buffer> &,std::promise<osmium::io::Header> &,osmium::osm_entity_bits::type &,std::atomic<bool> &)' being compiled
D:\build_d\libosmium2\include\osmium/io/detail/xml_input_format.hpp(602) : see reference to function template instantiation 'osmium::thread::CheckedTask<osmium::io::detail::XMLParser>::CheckedTask<osmium::thread::Queue<std::string>&,osmium::thread::Queue<osmium::memory::Buffer>&,std::promise<osmium::io::Header>&,osmium::osm_entity_bits::type&,std::atomic<bool>&>(osmium::thread::Queue<std::string> &,osmium::thread::Queue<osmium::memory::Buffer> &,std::promise<osmium::io::Header> &,osmium::osm_entity_bits::type &,std::atomic<bool> &)' being compiled
from libosmium.
Difficult to see what the problem here is. Maybe it is missing a move constructor here?
Try adding XMLInputFormat(XMLInputFormat&& other) = default;
to the XMLInputFormat class declaration.
from libosmium.
Tried this - no result, the same errors.
Adding XMLParser(XMLParser&& other) = default;
to XMLParser did not help too...
from libosmium.
@alex85k: Can you verify this is fixed by the last commit?
from libosmium.
Yes, it was fixed, thank you!
from libosmium.
The same error showed up for OPLOutputBlock :)
Trying to add analogous copy-constructor.
from libosmium.
Added something to compile: alex85k@6e430a1
( please rework )
from libosmium.
Related Issues (20)
- ctest failing on newly compiled code HOT 1
- Please reconsider the fadvise() usage HOT 3
- Increase maximimum integers in opl_parser_functions.hpp HOT 4
- Lots of warnings after #5d50405 in VS2019 HOT 5
- Unable to compile with c++20 when using precompiled binaries HOT 8
- Failing to compile libosmium: 'protozero/types.hpp' file not found HOT 5
- Incorrect proj usage HOT 1
- libosmium no longer successfully builds after `v2.17.1` on CentOS 7 HOT 2
- Need help, how to add altitude to libosmium HOT 2
- Missing prepare_for_lookup in test_members_database.cpp HOT 1
- heads-up: PROJ_LIB is now deprecated (use PROJ_DATA instead)
- io_test_bzip2 fails on Alpine Linux HOT 3
- AppVeyor builds fail due to missing LZ4 HOT 5
- Print offending string in PBF-Decoder
- installation make error HOT 2
- Does libosmium work with MacOS (M series chip)
- Performance Issues with `timegm` called from `parse_timestamp` on iOS 16.2 HOT 10
- Fractional seconds in XML timestamps HOT 2
- compiler error HOT 4
- What is the best practice for writing CPU-intensive handlers? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libosmium.