Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646654 - net-libs/webkit-gtk-2.4.11-r200 - Source/JavaScriptCore/API/JSStringRef.cpp:40:50: error: invalid conversion from ‘const JSChar* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive]
Summary: net-libs/webkit-gtk-2.4.11-r200 - Source/JavaScriptCore/API/JSStringRef.cpp:4...
Status: RESOLVED DUPLICATE of bug 621532
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 12:48 UTC by doj
Modified: 2018-02-05 17:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,580.80 KB, application/gzip)
2018-02-05 12:51 UTC, doj
Details
environment (environment.gz,41.78 KB, application/gzip)
2018-02-05 12:51 UTC, doj
Details
emerge --info (emerge-info.txt,6.22 KB, text/plain)
2018-02-05 12:51 UTC, doj
Details
emerge --pqv (emerge-pqv.txt,172 bytes, text/plain)
2018-02-05 12:52 UTC, doj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doj 2018-02-05 12:48:10 UTC
updated my portage tree and net-libs/webkit-gtk-2.4.11-r200 fails to build for me:

Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharacters(const JSChar*, size_t)’:
Source/JavaScriptCore/API/JSStringRef.cpp:40:50: error: invalid conversion from ‘const JSChar* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive]
     return OpaqueJSString::create(chars, numChars).leakRef();
                                                  ^
In file included from Source/JavaScriptCore/API/JSStringRef.cpp:31:0:
Source/JavaScriptCore/API/OpaqueJSString.h:49:39: note:   initializing argument 1 of ‘static WTF::PassRefPtr<OpaqueJSString> OpaqueJSString::create(const UChar*, unsigned int)’
     static PassRefPtr<OpaqueJSString> create(const UChar* characters, unsigned length)
                                       ^~~~~~
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharactersNoCopy(const JSChar*, size_t)’:
Source/JavaScriptCore/API/JSStringRef.cpp:65:83: error: invalid conversion from ‘const JSChar* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive]
     return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars)).leakRef();
                                                                                   ^
In file included from ./Source/WTF/wtf/text/WTFString.h:29:0,
                 from Source/JavaScriptCore/API/OpaqueJSString.h:31,
                 from Source/JavaScriptCore/API/JSStringRef.cpp:31:
./Source/WTF/wtf/text/StringImpl.h:393:54: note:   initializing argument 1 of ‘static WTF::PassRef<WTF::StringImpl> WTF::StringImpl::createWithoutCopying(const UChar*, unsigned int)’
     WTF_EXPORT_STRING_API static PassRef<StringImpl> createWithoutCopying(const UChar* characters, unsigned length);
                                                      ^~~~~~~~~~~~~~~~~~~~
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘const JSChar* JSStringGetCharactersPtr(JSStringRef)’:
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]
     return string->characters();
            ~~~~~~~~~~~~~~~~~~^~
make[1]: *** [GNUmakefile:70160: Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo] Error 1
Comment 1 doj 2018-02-05 12:51:04 UTC
Created attachment 517858 [details]
build.log.gz
Comment 2 doj 2018-02-05 12:51:25 UTC
Created attachment 517860 [details]
environment
Comment 3 doj 2018-02-05 12:51:45 UTC
Created attachment 517862 [details]
emerge --info
Comment 4 doj 2018-02-05 12:52:02 UTC
Created attachment 517864 [details]
emerge --pqv
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-05 17:10:16 UTC

*** This bug has been marked as a duplicate of bug 621532 ***