unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 75236c4069d445d6b88c55d041f6f992405d1f34 533 bytes (raw)
name: packages/patches/llvm-3.x.1-fix-build-with-gcc.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
Patch from https://github.com/digego/extempore/issues/318

diff --git a/include/llvm/IR/ValueMap.h.orig b/include/llvm/IR/ValueMap.h
index ad518ac..d928f6a 100644
--- a/include/llvm/IR/ValueMap.h
+++ b/include/llvm/IR/ValueMap.h
@@ -99,7 +99,7 @@
   explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64)
       : Map(NumInitBuckets), Data(Data) {}
 
-  bool hasMD() const { return MDMap; }
+  bool hasMD() const { return static_cast<bool>(MDMap); }
   MDMapT &MD() {
     if (!MDMap)
       MDMap.reset(new MDMapT);

debug log:

solving 75236c4069d445d6b88c55d041f6f992405d1f34 ...
found 75236c4069d445d6b88c55d041f6f992405d1f34 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).