From: William S F. <ws...@fu...> - 2015-03-16 22:35:49
|
On 13 March 2015 at 19:19, Russell Owen <ro...@uw...> wrote: > On 3/13/15 11:41 AM, William S Fulton wrote: >> On 13 March 2015 at 17:33, Russell Owen <ro...@uw...> wrote: >>> On Mar 13, 2015, at 9:49 AM, Ben Webb <be...@sa...> wrote: >>> >>> I believe 3.0.5 still has a known issue with handling default arguments, and if so, that may well be the issue here. >> >> The only known issue is using bool and not using true or false as the >> default C++ value. Please see https://github.com/swig/swig/issues/327 >> and let us know if it is the same or different. If it is similar, then >> add please let us know in this issue what sort of default values you >> are using. Clearly the error message you show indicates bool is in >> this overloaded method. > > The code does have one default argument and it is a bool, but > unfortunately the default value is "true", rather than an integer. > I see this on MacOS X 10.9 running clang++6: > > localhost$ clang++ --version > Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) > > I plan to try building on linux with gcc when our buildbot is freed up. > It will be interesting to see if that works. > Are you able to provide details of this overloaded method yet? If the default value is "true" as you say, I'd like to get details to see why this is breaking in 3.0.5. William |