William S Fulton wrote:
> Olly Betts wrote:
> > Mark Klein <swiglist@...> writes:
> >> I've successfully used swig to build interfaces for C#, Python,
> >> and Ruby and am now trying to work with PHP. The first attempt
> >> was to simply attempt a build without doing anything special to
> >> my .i file. While the other three languages build just fine,
> >> for PHP I get the following exception:
> >> Modules/emit.cxx:340: failed assertion `Getattr(n, "wrap:name")'
> > What version of SWIG? If it's not the most recent (1.3.34),
> then try it with
> > the latest version.
> > If this fails with 1.3.34, can you supply a (preferably
> minimal) .i file which
> > demonstrates this?
> > If so, please open a bug on SF and I'll take a look. if you
> can't supply an
> > example, there's probably not much we can do.
> This is most likely fixed in svn, so please try that. Alternatively, if
> you build a non-debug version of swig-1.3.34, the assertion will be
> safely ignored, but then the new $wrapname special variable feature
> won't work as expected.
I tried this with the head as well yesterday and it exhibited the same
I'll try rebuilding without debug enabled and see what happens there.