swig/Examples/pike/enum
Logan Johnson 90634794e2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 20:54:37 +00:00
..
.cvsignore The great merge 2002-11-30 22:01:28 +00:00
example.cxx The great merge 2002-11-30 22:01:28 +00:00
example.h The great merge 2002-11-30 22:01:28 +00:00
example.i The great merge 2002-11-30 22:01:28 +00:00
Makefile The great merge 2002-11-30 22:01:28 +00:00
README *** empty log message *** 2003-04-30 20:54:37 +00:00
runme.pike *** empty log message *** 2003-04-30 20:54:37 +00:00

This example will not compile with Pike versions 7.4.20 unless you first
patch the Pike sources. The problem is for line 91 of Pike's "stralloc.h"
(usually installed as /usr/local/pike/7.4.10/include/pike/stralloc.h). That
line reads:

    tmp.ptr=ptr;

but should be patched to read:

    tmp.ptr=(p_wchar0 *) ptr;

This bug has been reported to the Pike developers.