<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://permalink.gmane.org/gmane.comp.programming.swig.devel">
    <title>gmane.comp.programming.swig.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18604"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18603"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18602"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18601"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18600"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18599"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18598"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18597"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18596"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18595"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18594"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18593"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18592"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18591"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18590"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18589"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18588"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18587"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18586"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18585"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18604">
    <title>[ swig-Bugs-2080497 ] [python] type checking inpystdcommon.swg</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18604</link>
    <description>Bugs item #2080497, was opened at 2008-08-28 13:12
Message generated for change (Comment added) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2080497&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: python
Group: None
Priority: 5
Private: No
Submitted By: Romain Boman (r_boman)
Summary: [python] type checking in pystdcommon.swg

Initial Comment:
I have just found a problem concerning type checking when using a std::vector as input argument. 

Here is a small module containing 2 new classes A and B

%module castswig
%{
#include &lt;iostream&gt;
%}

%include "std_vector.i"

%inline {
class A
{
public:
A() { std::cout &lt;&lt; "A constructor\n"; }
};
}

%template() std::vector&lt;A*&gt;;

%inline {
class B
{
public:
B(const std::vector&lt;A*&gt; &amp;listA) { std::cout &lt;&lt; "B constructor\n"; }
};
}

And my python file showing the bug:

fro</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-29T18:31:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18603">
    <title>[ swig-Bugs-2174783 ] Error when compiling SWIG code,argv[0] may be uninitialized</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18603</link>
    <description>Bugs item #2174783, was opened at 2008-10-17 13:31
Message generated for change (Comment added) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2174783&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: python
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ilmar Wilbers (ilmarw)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error when compiling SWIG code, argv[0] may be uninitialized

Initial Comment:
We are compiling the SWIG wrapper with -Werror. With gcc &gt; 4.3, the builds are exiting with the following message:
dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
_wrap_new_Mesh(PyObject*, PyObject*)':
dolfin/swig/dolfin_wrap.cc:69695: error: 'argv[0]' may be used
uninitialized in this function

If we substitute 'Type v;' with 'Type v=0;' the compilation is successfull. This seem</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-29T17:56:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18602">
    <title>[ swig-Bugs-2359417 ] Type system broken for pointersand the STL</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18602</link>
    <description>Bugs item #2359417, was opened at 2008-11-29 17:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2359417&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: python
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: William Fulton (wsfulton)
Assigned to: Nobody/Anonymous (nobody)
Summary: Type system broken for pointers and the STL

Initial Comment:
The type system is broken when using the STL and pointers. Testcase below (li_std_vector_ptr.i - checked into svn):

%module li_std_vector_ptr

%include "std_vector.i"

%template(IntPtrVector) std::vector&lt;int *&gt;;

%inline %{
#include &lt;iostream&gt;
using namespace std;
int* makeIntPtr(int v) {
  return new int(v);
}
double* makeDoublePtr(double v) {
  return new double(v);
}

#if 1
int</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-29T17:51:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18601">
    <title>[Lua] Check unsigned arguments to be positive</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18601</link>
    <description>
In Lua binding, number arguments are directly casted to target type, like 
this:
$1 = ($type)lua_tonumber(L, $input);

There is no check for unsigned numbers. So, for exemple:
Lua&gt; getElementInMyVector(-1)
... crash ...

I suggest to use patch in attachment to correct this behaviour. Nevertheless, 
I am not familiar with Swig macros, so it may exist better way to correct 
this.


Cheers,

</description>
    <dc:creator>Jérôme Pouiller</dc:creator>
    <dc:date>2008-11-28T11:09:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18600">
    <title>[Patch] Fix parsing of nested structures with comments</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18600</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</description>
    <dc:creator>Kalyanov Dmitry</dc:creator>
    <dc:date>2008-11-27T22:16:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18599">
    <title>[Lua] Check unsigned arguments to be positive</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18599</link>
    <description>

In Lua binding, number arguments are directly casted to target type, like 
this:
$1 = ($type)lua_tonumber(L, $input);

There is no check for unsigned numbers. So, for exemple:
Lua&gt; getElementInMyVector(-1)
... crash ...

I suggest to use patch in attachment to correct this behaviour. Nevertheless, 
I am not familiar with Swig macros, so it may exist better way to correct 
this.


Cheers,

</description>
    <dc:creator>Jérôme Pouiller</dc:creator>
    <dc:date>2008-11-27T08:38:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18598">
    <title>[ swig-Patches-2340105 ] little fix for wrongformatting in perl code</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18598</link>
    <description>Patches item #2340105, was opened at 2008-11-24 22:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=301645&amp;aid=2340105&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Arkadiusz Miskiewicz (arekm)
Assigned to: Nobody/Anonymous (nobody)
Summary: little fix for wrong formatting in perl code

Initial Comment:
Patch speaks for itself.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=301645&amp;aid=2340105&amp;group_id=1645

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the cooles</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-24T21:09:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18597">
    <title>Re: php4 removal</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18597</link>
    <description>
Not *ALL* I think - uses in user-visible stuff should ideal have
compatibility aliases - e.g. %pragma(php4) should probably continue
to work but %pragma(php) should be added and be the preferred way
to write that.

Anything purely internal can (and should) be updated.  I just haven't
had much spare time recently, and have been trying to focus on getting
more of the test suite working.

I don't know if anything should be php5 instead of just php - I've not
looked at php6 development at all - but "php" is certainly better than
"php4" at this point even if we have to change it again later.

Cheers,
    Olly


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Olly Betts</dc:creator>
    <dc:date>2008-11-24T15:11:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18596">
    <title>php4 removal</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18596</link>
    <description>For Olly mostly...

Is it okay to finish tidying up the php4 removal, ie can I change all 
the references to php from php4 ? For example the Examples/Makefile and 
SWIG_Php4_GetModule() and SWIG_Php4_SetModule ?

William

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>William S Fulton</dc:creator>
    <dc:date>2008-11-23T22:43:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18595">
    <title>[ swig-Patches-2263850 ] [ruby] Fix compilation withruby-1.9.1</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18595</link>
    <description>Patches item #2263850, was opened at 2008-11-11 18:21
Message generated for change (Settings changed) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=301645&amp;aid=2263850&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Priority: 5
Private: No
Submitted By: Alex (bro_ken_toy)
Summary: [ruby] Fix compilation with ruby-1.9.1

Initial Comment:
Currently, SWIG-generated code will not compile against the latest version of ruby, 1.9.1-preview. This is because SWIG's code includes the header "rubyio.h" which has been removed in the latest versions of Ruby. 

The attached patch checks for this and correctly includes the header for both ruby 1.8 and ruby 1.9. 

I hope this can be applied and released soon please, as Ruby 1.9 is due to become the stable version next month. Currently, no SWIG code will work.

---------</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-23T22:28:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18594">
    <title>[ swig-Patches-2263850 ] [ruby] Fix compilation withruby-1.9.1</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18594</link>
    <description>Patches item #2263850, was opened at 2008-11-11 18:21
Message generated for change (Comment added) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=301645&amp;aid=2263850&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex (bro_ken_toy)
Assigned to: Nobody/Anonymous (nobody)
Summary: [ruby] Fix compilation with ruby-1.9.1

Initial Comment:
Currently, SWIG-generated code will not compile against the latest version of ruby, 1.9.1-preview. This is because SWIG's code includes the header "rubyio.h" which has been removed in the latest versions of Ruby. 

The attached patch checks for this and correctly includes the header for both ruby 1.8 and ruby 1.9. 

I hope this can be applied and released soon please, as Ruby 1.9 is due to become the stable</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-23T22:27:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18593">
    <title>[ swig-Bugs-2319790 ] std::tr1::shared_ptr does notwork properly</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18593</link>
    <description>Bugs item #2319790, was opened at 2008-11-21 07:59
Message generated for change (Settings changed) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2319790&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: code generation (general)
Group: None
Priority: 5
Private: No
Submitted By: Johan (johanhake)
Assigned to: Nobody/Anonymous (nobody)
Summary: std::tr1::shared_ptr does not work properly

Initial Comment:
In the macro SWIG_SHARED_PTR_DERIVED in the file shared_ptr.i there is a bug that appear when trying to wrapp c++ code that uses std::tr1::shared_ptr. Setting:

   #define SWIG_SHARED_PTR_NAMESPACE std
   #define SWIG_SHARED_PTR_SUBNAMESPACE tr1

will not produce the right code from the macro. The macro refer to SWIG_SHARED_PTR_NAMESPACE instead of SWIG_SHARED_PTR_QNAMESPACE. 

A patch that resolves the bug is p</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-23T22:00:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18592">
    <title>[ swig-Bugs-2319790 ] std::tr1::shared_ptr does notwork properly</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18592</link>
    <description>Bugs item #2319790, was opened at 2008-11-21 07:59
Message generated for change (Comment added) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2319790&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: code generation (general)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johan (johanhake)
Assigned to: Nobody/Anonymous (nobody)
Summary: std::tr1::shared_ptr does not work properly

Initial Comment:
In the macro SWIG_SHARED_PTR_DERIVED in the file shared_ptr.i there is a bug that appear when trying to wrapp c++ code that uses std::tr1::shared_ptr. Setting:

   #define SWIG_SHARED_PTR_NAMESPACE std
   #define SWIG_SHARED_PTR_SUBNAMESPACE tr1

will not produce the right code from the macro. The macro refer to SWIG_SHARED_PTR_NAMESPACE instead of SWIG_SHARED_PTR_QNAMESPACE. 

A patch</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-23T21:59:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18591">
    <title>[ swig-Bugs-2277850 ] test suite does not compile</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18591</link>
    <description>Bugs item #2277850, was opened at 2008-11-13 18:32
Message generated for change (Settings changed) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2277850&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csharp
Group: None
Priority: 5
Private: No
Submitted By: Mathieu Malaterre (malat)
Assigned to: William Fulton (wsfulton)
Summary: test suite does not compile

Initial Comment:
checking testcase li_boost_shared_ptr (with run test) under csharp
In file included from /usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
                 from /usr/include/c++/4.3/ext/atomicity.h:39,
                 from /usr/include/c++/4.3/bits/basic_string.h:46,
                 from /usr/include/c++/4.3/string:58,
                 from li_boost_shared_ptr_wrap.cxx:294:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-23T21:48:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18590">
    <title>[ swig-Bugs-2277850 ] test suite does not compile</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18590</link>
    <description>Bugs item #2277850, was opened at 2008-11-13 18:32
Message generated for change (Comment added) made by wsfulton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2277850&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csharp
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mathieu Malaterre (malat)
Assigned to: William Fulton (wsfulton)
Summary: test suite does not compile

Initial Comment:
checking testcase li_boost_shared_ptr (with run test) under csharp
In file included from /usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr.h:132,
                 from /usr/include/c++/4.3/ext/atomicity.h:39,
                 from /usr/include/c++/4.3/bits/basic_string.h:46,
                 from /usr/include/c++/4.3/string:58,
                 from li_boost_shared_ptr_wrap.cxx:294:
/usr/include/c++/4.3/x86_64-lin</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-23T21:48:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18589">
    <title>Patch: Problem with %module(package="x.y.z")</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18589</link>
    <description>Hello list!

I've had some problems with swig-1.3.36. Namely, the
%module(package="x.y.z") feature doesn't appear to work.

After reading the code, I can see why it doesn't. It is supposed to
write full package names to the .py proxy file, when needed. However,
those full package names are only written to a string that isn't used.
At least that's what it looks like to me.

The following patch:

diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx
index aa124a4..9b27dec 100644
--- a/Source/Modules/python.cxx
+++ b/Source/Modules/python.cxx
&lt; at &gt;&lt; at &gt; -862,8 +862,8 &lt; at &gt;&lt; at &gt; public:
          if (!options || (!Getattr(options, "noshadow") &amp;&amp;
!Getattr(options, "noproxy"))) {
            Printf(import, "_%s\n", modname);
            if (!Strstr(f_shadow_imports, import)) {
-             Printf(f_shadow, "import %s\n", modname);
-             Printv(f_shadow_imports, import, NULL);
+             //Printf(f_shadow, "import %s\n", modname);
+             Printv(f_shadow, import, NULL);
            }
          }
    </description>
    <dc:creator>anders musikka</dc:creator>
    <dc:date>2008-11-23T18:58:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18588">
    <title>SWIG fails to parse some combination of struct's andcomments</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18588</link>
    <description>When given the following input:
---begin comments.i---
%module "comments"

struct A {
  struct {
    /*struct*/
    struct {
      int b;
    }c;
  }d;
};
--end comments.i---
and compiled as
/usr/bin/swig -python comments.i
the following error is given:
:10: Error: p��comments.i:10: Error: Syntax error in input(3).
or
:10: Error: p.comments.i:10: Error: Syntax error in input(3).
or
:10: Error: p��comments.i:10: Error: Syntax error in input(3).
(there are some random characters between 'Error: ' and 'comments.i'. They are 
different for every run)
If I remove the comment (/*struct*/) no error is given and output files are 
produced.
If I edit the comment to something other that does not 
include 'struct', 'class', 'union' as a substring then no error is given and 
output files are produced.

This particular pattern occurs, for example, in gtk+ (in file 
gtk/gtktypeutils, struct _GtkArg).

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Mo</description>
    <dc:creator>Kalyanov Dmitry</dc:creator>
    <dc:date>2008-11-21T13:50:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18587">
    <title>[ swig-Bugs-2319790 ] std::tr1::shared_ptr does notwork properly</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18587</link>
    <description>Bugs item #2319790, was opened at 2008-11-21 07:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2319790&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: code generation (general)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johan (johanhake)
Assigned to: Nobody/Anonymous (nobody)
Summary: std::tr1::shared_ptr does not work properly

Initial Comment:
In the macro SWIG_SHARED_PTR_DERIVED in the file shared_ptr.i there is a bug that appear when trying to wrapp c++ code that uses std::tr1::shared_ptr. Setting:

   #define SWIG_SHARED_PTR_NAMESPACE std
   #define SWIG_SHARED_PTR_SUBNAMESPACE tr1

will not produce the right code from the macro. The macro refer to SWIG_SHARED_PTR_NAMESPACE instead of SWIG_SHARED_PTR_QNAMES</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-21T07:59:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18586">
    <title>Bug with version 1.3.36 Ruby directors module</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18586</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</description>
    <dc:creator>Sam Hendley</dc:creator>
    <dc:date>2008-11-19T22:34:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18585">
    <title>[ swig-Bugs-2313212 ] Multi-argument typemaps withoutvariable names do not work</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18585</link>
    <description>Bugs item #2313212, was opened at 2008-11-18 18:52
Message generated for change (Comment added) made by jamesm17
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2313212&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: code generation (general)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: James Masters (jamesm17)
Assigned to: Nobody/Anonymous (nobody)
Summary: Multi-argument typemaps without variable names do not work

Initial Comment:
I want to create a typemap for two sequential argument types but I don't want to specify the variable names.  The documentation states that this should be possible, but multi-argument typemaps only seem to work when variable names are given:

-----------------------------
%module multi_test;

/*
// Does not work
%typemap(default) (int &amp;, int &amp;) {
  // FOUND
}
*/

</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-19T04:35:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig.devel/18584">
    <title>[ swig-Bugs-2313691 ] Multi-argument typemaps withoutvariable names do not work</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig.devel/18584</link>
    <description>Bugs item #2313691, was opened at 2008-11-18 20:32
Message generated for change (Settings changed) made by jamesm17
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;atid=101645&amp;aid=2313691&amp;group_id=1645

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: code generation (general)
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: James Masters (jamesm17)
Assigned to: Nobody/Anonymous (nobody)
Summary: Multi-argument typemaps without variable names do not work

Initial Comment:
I want to create a typemap for two sequential argument types but I don't want to specify the variable names.  The documentation states that this should be possible, but multi-argument typemaps only seem to work when variable names are given:

-----------------------------
%module multi_test;

/*
// Does not work
%typemap(default) (int &amp;, int &amp;) {
  // FOUND
}
*/

// Works
%type</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2008-11-19T04:34:23</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.programming.swig.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.programming.swig.devel</link>
  </textinput>
</rdf:RDF>
