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 » U++ Library support » U++ Widgets - General questions or Mixed problems » Problem compiling r4596
Problem compiling r4596 [message #35447] Thu, 16 February 2012 18:43 Go to next message
frankdeprins is currently offline  frankdeprins
Messages: 99
Registered: September 2008
Location: Antwerp - Belgium
Member
Hello,

There is a compilation problem in the GridCtrl; something about XMLize and it showed up somewhere between r4577 (which I used previously) and 4596 (which I use now).
I am using Visual C++ express 2010 and MinGW 4.6.1; both on Windows Vista 32 bit. And both have the same problem.

Best regards

frank
Re: Problem compiling r4596 [message #35454 is a reply to message #35447] Sat, 18 February 2012 16:04 Go to previous messageGo to next message
kasome is currently offline  kasome
Messages: 78
Registered: July 2008
Location: Taiwan
Member
Because of

r4588 --- Core: Xmlize: Changed to reference XmlIO& parameter.

Just modify (the red part)

In GridCtrl.h
template<> void Xmlize(XmlIO& xml, GridCtrl& g);

In GridCtrl.cpp
template<> void Xmlize(XmlIO& xml, GridCtrl& g) {
Vector<Vector<Value> > v;

if(xml.IsLoading()) {
xml("data", v);
g.SetValues(v);
} else {
v = g.GetValues();
xml("data", v);
}
}

the problem should be solved.

By the way, in Bazaar\Styler\Styler.h and Bazaar\Styler\Styler.cpp, should modify as
template<> void Xmlize(XmlIO& xml, PerChStyle& o);

template<> void Xmlize(XmlIO& xml, PerChStyle& o)
{
Color c;

XMLIZECOL("face", SColorFace)
XMLIZECOL("shadow", SColorShadow)
XMLIZECOL("ltface", SColorLtFace)
XMLIZECOL("dkshadow", SColorDkShadow)
XMLIZECOL("highlight", SColorHighlight)
XMLIZECOL("disabled", SColorDisabled)
XMLIZECOL("paper", SColorPaper)
XMLIZECOL("text", SColorText)
XMLIZECOL("highlighttext", SColorHighlightText)
XMLIZECOL("light", SColorLight)

XMLIZECOL("menu", SColorMenu)
XMLIZECOL("menutext", SColorMenuText)
XMLIZECOL("menumark", SColorMenuMark)
XMLIZECOL("info", SColorInfo)
XMLIZECOL("infotext", SColorInfoText)
XMLIZECOL("mark", SColorMark)
XMLIZECOL("label", SColorLabel)
XMLIZECOL("labelboxtext", LabelBoxTextColor)
XMLIZECOL("labelbox", LabelBoxColor)
}
Re: Problem compiling r4596 [message #35460 is a reply to message #35454] Mon, 20 February 2012 10:11 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3372
Registered: August 2008
Senior Veteran
Hello Daniel/Mirek

Please enter the fix ASAP in GridCtrl.h and GridCtrl.cpp.


Best regards
IƱaki
Re: Problem compiling r4596 [message #35461 is a reply to message #35460] Mon, 20 February 2012 10:21 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

koldo wrote on Mon, 20 February 2012 04:11

Hello Daniel/Mirek

Please enter the fix ASAP in GridCtrl.h and GridCtrl.cpp.

Thanks, I'll commit appropriate change tonight. (Recently I'm not using the newest sources and that's why I'm not reacting Smile )
Re: Problem compiling r4596 [message #35472 is a reply to message #35461] Tue, 21 February 2012 09:26 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
Actually, I believe the problem might have been solved at Xmlize. It certainly is possible to do, so if it persists, please make me aware.
Re: Problem compiling r4596 [message #35476 is a reply to message #35472] Tue, 21 February 2012 10:31 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
OK, it was not resolved, but should be now...
Re: Problem compiling r4596 [message #35477 is a reply to message #35476] Tue, 21 February 2012 14:39 Go to previous messageGo to next message
frankdeprins is currently offline  frankdeprins
Messages: 99
Registered: September 2008
Location: Antwerp - Belgium
Member
Amen
Re: Problem compiling r4596 [message #35478 is a reply to message #35476] Tue, 21 February 2012 18:47 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

mirek wrote on Tue, 21 February 2012 04:31

OK, it was not resolved, but should be now...

Thanks!
Previous Topic: [Solved] EditField crashing at runtime uisng PortableUpp 4424
Next Topic: RegisterSystemHotKey() only inside a program
Goto Forum:
  


Current Time: Sun Jun 16 08:52:01 CEST 2024

Total time taken to generate the page: 0.02019 seconds