Parser fails at the following code:
struct Inner { double d() const; }; struct Outer { static Inner i; }; void f(double param = Outer::i.d());
Still present in current git master.
I'm just about to merge a fix for the function call part but the namespace part isn't handled yet (so i.d() will soon work).
i.d()
Still present in current git master (shortly after 4.2.0).
SWIG now handles both these cases:
void f(double param = i.d());
void f(double param = Outer::d());
However the case reported here with both a namespace and an object is still not handled.
Moved to https://github.com/swig/swig/issues/3197 in the live tracker
I've merged fixes for the remaining cases here - should be released in SWIG 4.4.0.
Log in to post a comment.
Still present in current git master.
I'm just about to merge a fix for the function call part but the namespace part isn't handled yet (so
i.d()will soon work).Still present in current git master (shortly after 4.2.0).
SWIG now handles both these cases:
However the case reported here with both a namespace and an object is still not handled.
Last edit: Olly Betts 2024-01-24
Moved to https://github.com/swig/swig/issues/3197 in the live tracker
I've merged fixes for the remaining cases here - should be released in SWIG 4.4.0.