This is true, but it shouldn't apply here since I'm working with C code.  Here is the notation I'm using on the extent statements, is this correct?

%extend FOO_subfoo {
...
};


On 05/01/2014 05:55 PM, Diego Montemayor wrote:
> Hi all,
>
> I recently upgraded to swig 3.0 and started seeing some warnings without
> changing any of the code.
>
> *Warning 303: %extend defined for an undeclared class FOO_subfoo*
>
> I noticed that these warnings are all for unions inside structures or
> nested structures (not typedefined).  I don't see this error when running
> swig on version 2.0 so I'm not sure what has changed.

The v3 announcement says "Nested class support added"... That's probably what has changed.


>
> I ran it in debug mode and posted the class info below. Any idea what's
> going on here?
>
> Thanks,
> Diego
>
>        +++ *class *----------------------------------------
>        | classtype    - "FOO_subfoo"
>        | unnamed      - "$unnamed16$"
>        | name         - "FOO_subfoo"
>        | ismember     - "1"
>        | symtab       - 0x1e044e0
>        | allows_typedef - "1"
>        | sym:symtab   - 0x7ffc71ad8910
>        | typepass:visit - "1"
>        | allocate:visit - "1"
>        | kind         - "union"
>        | sym:name     - "FOO_subfoo"
>        | allocate:default_constructor - "1"
>        | allocate:default_destructor - "1"
>        | allocate:copy_constructor - "1"
>        | has_default_constructor - "1"
>        | has_destructor - "1"
>        | allocate:destructor - "1"
>        | has_constructor - "1"
>        | tdname       - "FOO_subfoo"
>        | classtypeobj - "FOO_subfoo"
>        | feature:java:enum - "typesafe"
>        | access       - "public"
>        | module       - 0x1dc1960
>        | nested       - "1"
>        | sym:overname - "__SWIG_0"
>        | typescope    - 0x6cd2d20
>        | proxyname    - "FOO_subfoo"
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
>
>
>
> _______________________________________________
> Swig-user mailing list
> Swig-user@...
> https://lists.sourceforge.net/lists/listinfo/swig-user
>