Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-opensp
fix-windows-x86_64-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-windows-x86_64-build.patch of Package mingw64-opensp
--- a/lib/OutputCharStream.cxx 2016-10-24 14:45:32.971097071 +0000 +++ b/lib/OutputCharStream.cxx 2016-10-24 14:48:19.327861506 +0000 @@ -61,6 +61,13 @@ return *this << buf; } +OutputCharStream &OutputCharStream::operator<<(long long unsigned int n) +{ + char buf[sizeof(long long unsigned int)*3 + 1]; + sprintf(buf, "%llu", n); + return *this << buf; +} + OutputCharStream &OutputCharStream::operator<<(int n) { char buf[sizeof(int)*3 + 2]; --- a/lib/MessageReporter.cxx 2016-10-24 14:30:14.456436396 +0000 +++ b/lib/MessageReporter.cxx 2016-10-24 14:49:51.393535576 +0000 @@ -123,7 +123,7 @@ os() << ':'; } if (options_ & messageNumbers) - os() << (unsigned long)message.type->module() << "." + os() << ((long long unsigned int)message.type->module()) << "." << (unsigned long)message.type->number() << ":"; switch (message.type->severity()) { case MessageType::info: --- a/include/OutputCharStream.h 2016-10-24 14:43:45.115785510 +0000 +++ b/include/OutputCharStream.h 2016-10-24 14:47:49.759995245 +0000 @@ -31,6 +31,7 @@ OutputCharStream &operator<<(const char *); OutputCharStream &operator<<(const StringC &); OutputCharStream &operator<<(unsigned long); + OutputCharStream &operator<<(long long unsigned int); OutputCharStream &operator<<(int); OutputCharStream &operator<<(Newline); private:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor