Re: [pygccxml-development] improving user experience
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <ba...@ir...> - 2006-07-20 14:30:37
|
Hi, I've noticed that in r317 the location where warnings are generated was moved to creator_t. But with this modification I don't get any warning at all anymore which is not correct. I had a look at the source and only got so far that the list "decls" (after calling make_flatten()) in _prepare_decls() only contains the stuff that is directly in the main namespace (in my case, these are mainly the SDK classes and a few functions). The actual methods of the classes are missing which is why I get no warning message. If I interpret the source code correctly the problem seems to be that class_declaration_t is not derived from scopedef_t anymore (I vaguely remember that there has been a commit message which stated that this was changed, but I'm not sure anymore). That modification had a side effect on make_flatten() that it doesn't work anymore because it only descends the tree if a node is derived from scopedef_t. I'm not sure if this is the true reason for the problem, but currently it sounds like a reasonable explanation to me. - Matthias - |