pp-macro.h: unsupported usage of appended list?

Milian Wolff mail at milianw.de
Mon Mar 7 21:46:28 UTC 2011


Hey all,

I was finally fed up enough with this warning:

pp_macro::definition There were items left on destruction: 139

that I decided to hunt it down. Turns out that pp-macro.h uses two appended 
lists which is apparently not properly supported...

appendedlist.h:337 in END_APPENDED_LISTS:
	void freeAppendedLists() { predecessor ## FreeChain(); } \

that is only called for the formals, not for the definitions in pp-macro.

What is the implication besides the nasty warning? This is a global static 
anyways hence more of a "still reachable" instead of a hard memory leak, or?

Anyways, suggestions on improving this for 4.3? I doubt we can change the 
appendedlists.h macro in a binary compatible way?

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110307/1b00c52b/attachment.sig>


More information about the KDevelop-devel mailing list