U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » Upp 604-dev1 released
Re: Upp 604-dev1 released [message #2297 is a reply to message #2296] Thu, 06 April 2006 23:15 Go to previous messageGo to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
I have just downloaded this latest dev version and had some problem to compile new examples (GCC/win):

* Codemetric

- Core/Util.h
had to change l135-136
inline void EndianSwap(word& v) { byte *x = reinterpret_cast<byte *>(v); Swap(x[0], x[1]); }
inline void EndianSwap(int16& v) { EndianSwap(*reinterpret_cast<word *>(v)); }

GCC do not like C-style cast here.

- RichText/RichText.h
had to change l 170
String Write() const { return type ? type->Write(data) : data.ToString(); }

data is a Value and GCC don't like to mix types here.

Nothing else to report...

Thanks,
Victor
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp 603-dev4 released
Next Topic: Happy Easter everyone!
Goto Forum:
  


Current Time: Sat Apr 25 04:52:17 GMT+2 2026

Total time taken to generate the page: 0.01231 seconds