Hi, the attached patch fixes the build of tagua for me.
-- Pino Toscano
--- a/src/hlvariant/tagua_wrapped.h
+++ b/src/hlvariant/tagua_wrapped.h
@@ -23,10 +23,10 @@
#define __FUNC__ __FUNCTION__
#endif
-#define MISMATCH(x,y) (kDebug() << " --> Error in "<<__FUNC__<<", MISMATCH!" \
+#define MISMATCH(x,y) do { kDebug() << " --> Error in "<<__FUNC__<<", MISMATCH!" \
<< " got type " << prettyTypeName(typeid(x).name()) \
<< " instead of " << prettyTypeName(typeid(y).name()) \
- << " this is " << prettyTypeName(typeid(*this).name()) )
+ << " this is " << prettyTypeName(typeid(*this).name()); } while (0)
#define DEFINE_VARIANT_FACTORY() \
VariantFactory* createFactory() { \
signature.asc
Description: This is a digitally signed message part.

