-
webkit Visual Studio 빌드 시 오류.공장 이야기 2014. 6. 16. 09:56
webkit 소스의 초점은 Visual Studio가 아니다. 그래서 Visual Studio로 빌드 시 이상한 오류를 만나게 된다...
아래는 대표적인 오류 이다...
String contextMenuItemTagLookUpInDictionary(const String& selectedString)
{
#if USE(CF)
RetainPtr<CFStringRef> selectedCFString = truncatedStringForLookupMenuItem(selectedString).createCFString();
return formatLocalizedString(WEB_UI_STRING("Look Up “%@”", "Look Up context menu item with selected word"), selectedCFString.get());
#else
return WEB_UI_STRING("Look Up “<selection>”", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));
#endif
}이 아래 코드로 수정을 해야...
String contextMenuItemTagLookUpInDictionary(const String& selectedString)
{
#if USE(CF)
RetainPtr<CFStringRef> selectedCFString = truncatedStringForLookupMenuItem(selectedString).createCFString();
return formatLocalizedString(WEB_UI_STRING("Look Up \"%@\"", "Look Up context menu item with selected word"), selectedCFString.get());
#else
return WEB_UI_STRING("Look Up \"<selection>\"", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));
#endif
}'공장 이야기' 카테고리의 다른 글
chromium x64 Win7 빌드 (0) 2015.12.16 Node.JS 설정 변경 시 (0) 2015.08.11 URL을 UTF8 방식으로 Encoding/Decoding 하기... (0) 2014.04.23 Webkit 해당 기능 ENABLE 시키기!!! (0) 2013.03.20 Webkit 빌드 시 언로드 가능 한 Project (0) 2012.11.16