Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 476110 Details for
Bug 621532
net-libs/webkit-gtk-2.4.11-r200 with dev-libs/icu-59 - Source/JavaScriptCore/API/JSStringRef.cpp:86:30: error: invalid conversion from ‘const UChar* {aka const char16_t*}’ to ‘const JSChar* {aka const short unsigned int*}’ [-fpermissive]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
backported patch
icu59.patch (text/plain), 3.01 KB, created by
Andreas K. Hüttel
on 2017-06-11 18:43:54 UTC
(
hide
)
Description:
backported patch
Filename:
MIME Type:
Creator:
Andreas K. Hüttel
Created:
2017-06-11 18:43:54 UTC
Size:
3.01 KB
patch
obsolete
>diff -ruN webkitgtk-2.4.11.orig/Source/JavaScriptCore/API/JSStringRef.cpp webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp >--- webkitgtk-2.4.11.orig/Source/JavaScriptCore/API/JSStringRef.cpp 2016-04-10 08:48:36.000000000 +0200 >+++ webkitgtk-2.4.11/Source/JavaScriptCore/API/JSStringRef.cpp 2017-06-11 19:26:55.263795188 +0200 >@@ -37,7 +37,7 @@ > JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars) > { > initializeThreading(); >- return OpaqueJSString::create(chars, numChars).leakRef(); >+ return OpaqueJSString::create(reinterpret_cast<const UChar*>(chars), numChars).leakRef(); > } > > JSStringRef JSStringCreateWithUTF8CString(const char* string) >@@ -62,7 +62,7 @@ > JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars) > { > initializeThreading(); >- return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars)).leakRef(); >+ return OpaqueJSString::create(StringImpl::createWithoutCopying(reinterpret_cast<const UChar*>(chars), numChars)).leakRef(); > } > > JSStringRef JSStringRetain(JSStringRef string) >@@ -83,7 +83,7 @@ > > const JSChar* JSStringGetCharactersPtr(JSStringRef string) > { >- return string->characters(); >+ return reinterpret_cast<const JSChar*>(string->characters()); > } > > size_t JSStringGetMaximumUTF8CStringSize(JSStringRef string) >diff -ruN webkitgtk-2.4.11.orig/Source/JavaScriptCore/runtime/DateConversion.cpp webkitgtk-2.4.11/Source/JavaScriptCore/runtime/DateConversion.cpp >--- webkitgtk-2.4.11.orig/Source/JavaScriptCore/runtime/DateConversion.cpp 2013-08-03 18:10:38.000000000 +0200 >+++ webkitgtk-2.4.11/Source/JavaScriptCore/runtime/DateConversion.cpp 2017-06-11 19:24:18.494788666 +0200 >@@ -107,7 +107,8 @@ > #if OS(WINDOWS) > TIME_ZONE_INFORMATION timeZoneInformation; > GetTimeZoneInformation(&timeZoneInformation); >- const WCHAR* timeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName; >+ const WCHAR* winTimeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName; >+ String timeZoneName(reinterpret_cast<const UChar*>(winTimeZoneName)); > #else > struct tm gtm = t; > char timeZoneName[70]; >diff -ruN webkitgtk-2.4.11.orig/Source/WebKit2/Shared/API/c/WKString.cpp webkitgtk-2.4.11/Source/WebKit2/Shared/API/c/WKString.cpp >--- webkitgtk-2.4.11.orig/Source/WebKit2/Shared/API/c/WKString.cpp 2016-04-10 08:48:37.000000000 +0200 >+++ webkitgtk-2.4.11/Source/WebKit2/Shared/API/c/WKString.cpp 2017-06-11 19:31:59.544807847 +0200 >@@ -55,7 +55,7 @@ > size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength) > { > COMPILE_ASSERT(sizeof(WKChar) == sizeof(UChar), WKStringGetCharacters_sizeof_WKChar_matches_UChar); >- return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength)); >+ return (toImpl(stringRef)->getCharacters(reinterpret_cast<UChar*>(buffer), bufferLength)); > } > > size_t WKStringGetMaximumUTF8CStringSize(WKStringRef stringRef)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 621532
:
476068
| 476110 |
509564
|
510560
|
510564
|
511302
|
511304
|
511306
|
511308