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++ Core » Serialize long as uint64 on some platforms
Serialize long as uint64 on some platforms [message #58706] Sun, 31 July 2022 08:06
busiek is currently offline  busiek
Messages: 60
Registered: February 2011
Location: Poland
Member
long has always size 4 on Windows and so Stream::operator%(long&) assumes it contains 32 bits data. It is not true on Linux or gcc compiler etc. I attach a patch for it. However it may not be complete as I am not sure what are the other areas of Core where this assumption is used.

Cheers,
busiek
Previous Topic: GLDraw,GLCtrl would be nice to work properly
Next Topic: Add compilable testcases for nontrivial problems!
Goto Forum:
  


Current Time: Fri Aug 12 11:30:04 CEST 2022

Total time taken to generate the page: 0.01164 seconds