Matthias Koeppe | 1 Jun 2001 18:21

[Swig-CVS] commit 'SWIG CHANGES Makefile.in configure.in'

Fri Jun  1 11:21:36 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG
In directory schlitz:/tmp/cvs-serv17264

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	CHANGES Makefile.in configure.in 
Log Message:
Added configure option "--with-swiglibdir".

Matthias Koeppe | 1 Jun 2001 18:21

[Swig-CVS] commit 'SWIG/Source/Include swigconfig.h.in'

Fri Jun  1 11:21:37 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG/Source/Include
In directory schlitz:/tmp/cvs-serv17264/Source/Include

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	swigconfig.h.in 
Log Message:
Added configure option "--with-swiglibdir".

Matthias Koeppe | 1 Jun 2001 18:22

[Swig-CVS] commit 'SWIG/debian changelog control rules'

Fri Jun  1 11:22:05 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG/debian
In directory schlitz:/tmp/cvs-serv17293/debian

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	changelog control rules 
Log Message:

Matthias Koeppe | 1 Jun 2001 18:48

[Swig-CVS] commit 'SWIG/Lib/guile guile.swg'

Fri Jun  1 11:48:28 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG/Lib/guile
In directory schlitz:/tmp/cvs-serv17713/Lib/guile

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	guile.swg 
Log Message:
[Guile] Cast SCM_CAR() to scm_bits_t before shifting it.  This is
required for compiling with a Guile configured with strict C type
checking.

Matthias Koeppe | 1 Jun 2001 18:49

[Swig-CVS] commit 'SWIG CHANGES Makefile.in'

Fri Jun  1 11:49:20 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG
In directory schlitz:/tmp/cvs-serv17723

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	CHANGES Makefile.in 
Log Message:

Matthias Koeppe | 1 Jun 2001 18:49

[Swig-CVS] commit 'SWIG/debian rules'

Fri Jun  1 11:49:20 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG/debian
In directory schlitz:/tmp/cvs-serv17723/debian

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	rules 
Log Message:

Matthias Koeppe | 1 Jun 2001 18:49

[Swig-CVS] commit 'SWIG/Runtime Makefile.in'

Fri Jun  1 11:49:20 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG/Runtime
In directory schlitz:/tmp/cvs-serv17723/Runtime

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	Makefile.in 
Log Message:

Kong Li | 1 Jun 2001 23:35

RE: swig 1.1.883 incompatible with certain configuration of perl 5.6.x

Hi, I also tried perl 5.6.1 with MULTIPLICITY turned on (instead of turning on both USETHREADS and USEITHREADS), and got the same compilation errors.

Thanks.

Kong

     -----Original Message-----
    From:   Kong Li 
    Sent:   Wednesday, May 30, 2001 7:17 PM
    To:     'swig-dev <at> cs.uchicago.edu'
    Subject:        swig 1.1.883 incompatible with certain configuration of perl 5.6.x


    Hi,

    Environment:
    . Solaris 5.8
    . swig 1.1.883
    . gcc 2.95.2
    . perl 5.6.0, default configuration, under /usr/local/bin/perl and /usr/local/lib/perl5/5.6.0/sun4-solaris
    . perl 5.6.1, turn on USETHREAD and USEITHREAD, under /opt/usr/local/bin/perl and /opt/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi

    . I used the standard example.c and example.i.

    While swig 1.1.883 can generate the _wrap.c file successfully under either perl, the gcc compilation with the default-configured perl (sun4-solaris) is ok but the 2nd perl (sun4-solaris-thread-multi) is not ok (conflicting types for boto_example in line 559 and line 431).  I have enclosed the typescript.

    Script started on Wed 30 May 2001 06:58:18 PM PDT
    [uws23 247 /home/kli/perl/swig/example] . ex
    + uname -a
    SunOS uws23 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-5_10
    + swig -version

    SWIG Version 1.1 (Build 883)
    Copyright (c) 1995-98
    University of Utah and the Regents of the University of California

    Compiled with c++
    + gcc -v
    Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
    gcc version 2.95.2 19991024 (release)
    + /usr/local/bin/perl -v

    This is perl, v5.6.0 built for sun4-solaris

    Copyright 1987-2000, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5.0 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using `man perl' or `perldoc perl'.  If you have access to the
    Internet, point your browser at http://www.perl.com/, the Perl Home Page.

    + gcc -G example.c example_wrap.c -o example.so -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE
    + /opt/usr/local/bin/perl -v

    This is perl, v5.6.1 built for sun4-solaris-thread-multi

    Copyright 1987-2001, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using `man perl' or `perldoc perl'.  If you have access to the
    Internet, point your browser at http://www.perl.com/, the Perl Home Page.

    + gcc -G example.c example_wrap.c -o example.so -I/opt/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE
    example_wrap.c: In function `_swig_create_magic':
    example_wrap.c:416: warning: assignment from incompatible pointer type
    example_wrap.c:417: warning: assignment from incompatible pointer type
    example_wrap.c: At top level:
    example_wrap.c:559: conflicting types for `boot_example'
    example_wrap.c:431: previous declaration of `boot_example'
    [uws23 248 /home/kli/perl/swig/example] exit

    script done on Wed 30 May 2001 06:58:28 PM PDT

    I can provide detailed perl configurations and even the compiled perl perl if needed.

    swig is a great tool.  But we do need the advanced features (USETHREAD and USEITHREAD) of perl.  Is there any work around?

    Thanks.

    Kong


William Fulton | 4 Jun 2001 16:14

[Swig-CVS] commit 'SWIG CHANGES'

Mon Jun  4 09:14:23 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG
In directory schlitz:/tmp/cvs-serv19647

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	CHANGES 
Log Message:
Shadow class mods - Improvements to instantiating Java classes.
Banner added to all output java files. New banner.
Shadow class finalizers output by default (-finalize replaced by -nofinalize).

William Fulton | 4 Jun 2001 16:14

[Swig-CVS] commit 'SWIG/Examples/GIFPlot README'

Mon Jun  4 09:14:23 CDT 2001
Files: %{sVv}
Update of /cvsroot/SWIG/Examples/GIFPlot
In directory schlitz:/tmp/cvs-serv19647/Examples/GIFPlot

Modified Files:
      Tag: mkoeppe-1-3-a5-patches
	README 
Log Message:
Shadow class mods - Improvements to instantiating Java classes.
Banner added to all output java files. New banner.
Shadow class finalizers output by default (-finalize replaced by -nofinalize).


Gmane