Nobody else has this problem?

Le 2013-04-10 à 16:31, Olivier Voyer <> a écrit :

I have the following in C++:

void doSomething(int value);
void doSomething(bool value);

When I run doSometing(True) in Python, it always calls the "void(int value)" C++ function instead of the expected "void doSomething(bool value)".

I know this has already been discussed, but I was wondering if it has been corrected or if there was a workaround or some option to set in SWIG.

I came across this message that has been posted some time ago:

William's answer led me to think it could have been corrected in the 2.0 version of SWIG, but it doesn't seem to be the case.

Any thought?