Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 402472 Details for
Bug 548444
sys-devel/llvm-3.6.0: build fails with using gcc-4.9.2 on Gentoo/FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/clang-3.6-fbsd-gcc49.patch
clang-3.6-fbsd-gcc49.patch (text/plain), 1016 bytes, created by
Yuta SATOH
on 2015-05-03 05:18:36 UTC
(
hide
)
Description:
files/clang-3.6-fbsd-gcc49.patch
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2015-05-03 05:18:36 UTC
Size:
1016 bytes
patch
obsolete
>Fix build fails with using gcc-4.9 on Gentoo/FreeBSD >https://bugs.gentoo.org/show_bug.cgi?id=548444 > >diff --git a/llvm-3.6.0.src/tools/clang/lib/Driver/MSVCToolChain.cpp b/llvm-3.6.0.src/tools/clang/lib/Driver/MSVCToolChain.cpp >index d6bd5c3..372f76f 100644 >--- a/llvm-3.6.0.src/tools/clang/lib/Driver/MSVCToolChain.cpp >+++ b/llvm-3.6.0.src/tools/clang/lib/Driver/MSVCToolChain.cpp >@@ -22,6 +22,8 @@ > #include "llvm/Support/FileSystem.h" > #include "llvm/Support/Process.h" > >+#include <cstdio> >+ > // Include the necessary headers to interface with the Windows registry and > // environment. > #if defined(LLVM_ON_WIN32) >@@ -212,7 +214,7 @@ bool MSVCToolChain::getWindowsSDKDir(std::string &path, int &major, > "SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\$VERSION", > "InstallationFolder", path, &sdkVersion); > if (!sdkVersion.empty()) >- ::sscanf(sdkVersion.c_str(), "v%d.%d", &major, &minor); >+ std::sscanf(sdkVersion.c_str(), "v%d.%d", &major, &minor); > return hasSDKDir && !path.empty(); > } >
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 548444
:
402470
| 402472