Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » PolyXML problems with MSC15
PolyXML problems with MSC15 [message #45194] Tue, 29 September 2015 11:33 Go to next message
koldo is currently offline  koldo
Messages: 3268
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
xml.Node() = node;
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

Re: PolyXML problems with MSC15 [message #45359 is a reply to message #45194] Sun, 01 November 2015 20:13 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13442
Registered: November 2005
Ultimate Member
Hopefully fixed.
Re: PolyXML problems with MSC15 [message #45366 is a reply to message #45359] Mon, 02 November 2015 08:09 Go to previous message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Yes Smile

Best regards
Iñaki
Previous Topic: ProductVersion problems with MSC15
Next Topic: QrCode image generation And debuging QR symbology
Goto Forum:
  


Current Time: Tue Oct 26 13:07:41 CEST 2021

Total time taken to generate the page: 0.01407 seconds