Home » Developing U++ » UppHub » PolyXML problems with MSC15
PolyXML problems with MSC15 [message #45194] |
Tue, 29 September 2015 11:33 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
Hello Micio
I have got a couple of compiling errors in PolyXML when using Visual Studio 2015:
- PolyXML.h, line 41
Error message:C:\upp\bazaar\PolyXML/PolyXML.h(41): error C2280: 'Upp::XmlNode &Upp::XmlNode::operator =(const Upp::XmlNode &)': attempting to reference
a deleted function
c:\upp\uppsrc\core\XML.h(247): note: compiler has generated 'Upp::XmlNode::operator =' here
C:\upp\bazaar\PolyXML/PolyXML.h(36): note: while compiling class template member function 'void Upp::PolyXMLUnknown<Base>::Xmlize(Upp::XmlIO &)'
C:\upp\bazaar\PolyXMLTest\Main.cpp(74): note: see reference to class template instantiation 'Upp::PolyXMLUnknown<Base>' being compiled It could be a matter of clone/pick.
- PolyXML.h, line 194
One<T>& Add(const K &key, pick_ One<T> &data) { return ArrayMap<K, One<T> >::AddPick(key, data); } Error message:C:\upp\bazaar\PolyXML/PolyXML.h(194): error C2664: 'Upp::One<T> &Upp::AMap<K,Upp::One<T>,Upp::Array<Upp::One<T>>,HashFn>::AddPick(const K
&,Upp::One<T> &&)': cannot convert argument 2 from 'Upp::One<T>' to 'Upp::One<T> &&'
with
[
T=Base,
K=Upp::String,
HashFn=Upp::StdHash<Upp::String>
]
and
[
T=Base
]
and
[
T=Base
]
C:\upp\bazaar\PolyXML/PolyXML.h(194): note: You cannot bind an lvalue to an rvalue reference
C:\upp\bazaar\PolyXML/PolyXML.h(194): note: while compiling class template member function 'Upp::One<T> &Upp::PolyXMLArrayMapOne<Upp::Str
ing,T>::Add(const K &,Upp::One<T> &)'
with
[
T=Base,
K=Upp::String
]
C:\upp\bazaar\PolyXMLTest\Main.cpp(298): note: see reference to function template instantiation 'Upp::One<T> &Upp::PolyXMLArrayMapOne<Upp
::String,T>::Add(const K &,Upp::One<T> &)' being compiled
with
[
T=Base,
K=Upp::String
]
C:\upp\bazaar\PolyXMLTest\Main.cpp(114): note: see reference to class template instantiation 'Upp::PolyXMLArrayMapOne<Upp::String,Base>'
being compiled
Best regards
Iñaki
[Updated on: Tue, 29 September 2015 11:44] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sat May 11 10:47:05 CEST 2024
Total time taken to generate the page: 0.03034 seconds
|