<p>You are misunderstanding this. Multiple dynamic containers are supported perfectly fine by appendedlists.h.</p>
<p>The warning simply means that there were a few dynamic instances of pp_macro alive when the helper container for dynamic lists of appendedlists.h was destroyed. This might either be a tiny static leak (the standard macros from setuphelper.cpp/h come into my mind), or a destruction order issue. Anyway the number 130 is not worrying at all. I primarily added this warning to prevent huge runtime memory leaks. You could for example simply turn it into kDebug if you dont want it to be a warning.</p>
<p><blockquote type="cite">Am 07.03.2011 23:11 schrieb "Milian Wolff" <<a href="mailto:mail@milianw.de">mail@milianw.de</a>>:<br><br>Milian Wolff, 07.03.2011:<br>
<p><font color="#500050">> Hey all,<br>> <br>> I was finally fed up enough with this warning:<br>> <br>> pp_macro::definition There were ...</font></p>btw: just adding definitionFreeChain(); to the pp-macro dtor triggers<br>
<br>
ASSERT: "temporaryHashpp_macrodefinition().getItem(definitionData).isEmpty()"<br>
in file /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-<br>
macro.h, line 165<br>
<br>
probably because other functions from END_APPENDED_LISTS are not correct in<br>
pp-macro, e.g. copyListsFrom and similar...<br>
<br>
bye<br>
<br>
PS: can one use variadic macros somehow to add support for arbitrary number of<br>
containers in END_APPENDED_LISTS? I've not yet seen how, but considering what<br>
is possible (think Boost Preprocessor) I wouldn't suprised if someone gets<br>
that to work somehow...<br>
<p><font color="#500050"><br><br>-- <br>Milian Wolff<br><a href="mailto:mail@milianw.de">mail@milianw.de</a><br><a href="http://milianw.de">http://milianw.de</a></font></p><br>--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></p>