[tlbuild] dvisvgm error with LLVM/Clang

Karl Berry karl at freefriends.org
Sun Jan 11 23:21:16 CET 2015


    compiler is LLVM/Clang.
    ...
    ../../../texk/dvisvgm/dvisvgm-1.9/src/VectorIterator.h:100:8: error:
    reference to non-static member function must be called
                            if (valid)

As you suggest, presumably the solution is to use valid(), as is done in
the other occurrences.

Martin, does it look ok?

K

--- VectorIterator.h	(revision 36021)
+++ VectorIterator.h	(working copy)
@@ -97,7 +97,7 @@
 		bool operator > (const VectorIterator &it) const  {return _pos > it._pos;}
 
 		size_t distanceToLast () const {
-			if (valid)
+			if (valid())
 				return _vector.size()-_pos-1;
 			return 0;
 		}


More information about the tlbuild mailing list