Skip to content

Instantly share code, notes, and snippets.

@bagong
Created May 5, 2017 10:35
Show Gist options
  • Select an option

  • Save bagong/250ca6a2d2aa8307c703d66a6afebd2d to your computer and use it in GitHub Desktop.

Select an option

Save bagong/250ca6a2d2aa8307c703d66a6afebd2d to your computer and use it in GitHub Desktop.
PluginViewWin.cpp
C:\Users\Rainer\Projects\sc\webkit\Source\WTF\wtf/Vector.h(1211): error C2664: 'WTF::String::String(const WTF::String &)': cannot convert argument 1 from 'WCHAR [260]' to 'cons
t UChar *' (compiling source file C:\Users\Rainer\Projects\sc\webkit\Source\WebKit\win\Plugins\PluginDatabaseWin.cpp) [C:\Users\Rainer\Projects\sc\webkit\build\Source\WebKit\We
bKit.vcxproj]
C:\Users\Rainer\Projects\sc\webkit\Source\WTF\wtf/Vector.h(1211): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style c
ast (compiling source file C:\Users\Rainer\Projects\sc\webkit\Source\WebKit\win\Plugins\PluginDatabaseWin.cpp)
C:\Users\Rainer\Projects\sc\webkit\Source\WebKit\win\Plugins\PluginDatabaseWin.cpp(355): note: see reference to function template instantiation 'void WTF::Vector<WTF::String,
0,WTF::CrashOnOverflow,16>::append<WCHAR(&)[260]>(U)' being compiled
with
[
U=WCHAR (&)[260]
]
C:\Users\Rainer\Projects\sc\webkit\Source\WebKit\win\Plugins\PluginDatabaseWin.cpp(355): note: see reference to function template instantiation 'void WTF::Vector<WTF::String,
0,WTF::CrashOnOverflow,16>::append<WCHAR(&)[260]>(U)' being compiled
with
[
U=WCHAR (&)[260]
]
Done Building Project "C:\Users\Rainer\Projects\sc\webkit\build\Source\WebKit\WebKit.vcxproj" (default targets) -- FAILED.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment