Control: tags -1 + patch
In qtads, this is actually fixed upstream, probably because qtads can be
built with Qt5 and Qt5 requires >= C++11.
The attached patch is tested to work on amd64 and i386.
It fixes "ISO C++ forbids comparison between pointer and integer" for
both qtads and frobtads.
For frobtads this is not enough, https://bugs.debian.org/836934 needs to
be taken care of as well.
Juhani
Description: fix pointer/integer comparison
This change has been adopted in TADS upstream.
Author: Nikos Chantziaras <rea...@gmail.com>
Origin: https://github.com/realnc/qtads/commit/46701a23e77756f267e33d33df3a90b59a91c0cd
Bug-Debian: https://bugs.debian.org/853629
--- a/tads3/tct3stm.cpp
+++ b/tads3/tct3stm.cpp
@@ -315,7 +315,7 @@
CTcPrsNode *create_iter = G_cg->get_metaclass_prop("collection", 0);
/* if we didn't find the property, it's an error */
- if (create_iter != VM_INVALID_PROP)
+ if (create_iter != 0)
{
/*
* generate a call to the createIterator() property on the