Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 744276 Details for
Bug 816069
dev-lang/ispc-1.16.0 - /.../module.cpp: error: F_None is not a member of llvm::sys::fs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that fixes 1.16.0 for me
ispc-build.patch (text/plain), 1.20 KB, created by
Luke
on 2021-10-10 08:58:08 UTC
(
hide
)
Description:
patch that fixes 1.16.0 for me
Filename:
MIME Type:
Creator:
Luke
Created:
2021-10-10 08:58:08 UTC
Size:
1.20 KB
patch
obsolete
>diff -ur ispc-1.16.0/src/module.cpp ispc-1.16.0-modified/src/module.cpp >--- ispc-1.16.0/src/module.cpp 2021-06-11 17:41:24.000000000 -0700 >+++ ispc-1.16.0-modified/src/module.cpp 2021-10-10 01:36:49.538881748 -0700 >@@ -1314,7 +1314,7 @@ > llvm::CodeGenFileType fileType = (outputType == Object) ? llvm::CGFT_ObjectFile : llvm::CGFT_AssemblyFile; > bool binary = (fileType == llvm::CGFT_ObjectFile); > >- llvm::sys::fs::OpenFlags flags = binary ? llvm::sys::fs::F_None : llvm::sys::fs::F_Text; >+ llvm::sys::fs::OpenFlags flags = binary ? llvm::sys::fs::OF_None : llvm::sys::fs::OF_Text; > > std::error_code error; > >diff -ur ispc-1.16.0/src/opt.cpp ispc-1.16.0-modified/src/opt.cpp >--- ispc-1.16.0/src/opt.cpp 2021-06-11 17:41:24.000000000 -0700 >+++ ispc-1.16.0-modified/src/opt.cpp 2021-10-10 01:37:19.402880944 -0700 >@@ -4687,7 +4687,7 @@ > std::error_code EC; > char fname[100]; > snprintf(fname, sizeof(fname), "%s_%d_%s.ll", init ? "init" : "ir", pnum, sanitize(std::string(pname)).c_str()); >- llvm::raw_fd_ostream OS(fname, EC, llvm::sys::fs::F_None); >+ llvm::raw_fd_ostream OS(fname, EC, llvm::sys::fs::OF_None); > Assert(!EC && "IR dump file creation failed!"); > module.print(OS, 0); > }
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 816069
:
742716
|
742719
|
742722
|
742725
|
742728
|
742731
|
742734
| 744276