uollas78@tiscali.it | 2 Jul 23:24 2007
Picon

Re: [Swig-user] Directors C# inheritance problem

> This is a bug. It seems to only occur when the C++ virtual method is
> protected, the generated code should be fine for public virtual 
methods.
> I think the generated code incorrectly assumed that a
> SwigDirector_Alfa was also a SwigDirector_Beta. Somehow this 
particular
> test case has eluded us. Can you raise a bug in the bug tracker and
> hopefully you can make your foo method public for now.

Thanks for the reply! Any hope for a fix in the CVS/SVN version?
I'm not very familiar with the bug tracker, can you report the problem 
plz?
Thanks again

_______________________________________________________
Naviga e telefona senza limiti con Tiscali     
Scopri le promozioni Tiscali Adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
SourceForge.net | 3 Jul 00:00 2007
Picon
Picon

[ swig-Bugs-1746818 ] Directors bug with virtual protected methods

Bugs item #1746818, was opened at 2007-07-03 00:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1746818&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: Berserker (berserker_r)
Assigned to: William Fulton (wsfulton)
Summary: Directors bug with virtual protected methods

Initial Comment:
// C++ code

%feature("director") Alfa;
class Alfa
{
public:
  Alfa() { }
  virtual ~Alfa() { }

protected:
  virtual void test() { }
(Continue reading)

Thompson, Steve | 3 Jul 00:36 2007

#define macro with % (mod operator)

I’m wrapping some structures that base array sizes from #defines that use the mod operator to calculate byte paddings.  SWIG gives the error “Error: Syntax error in input(3)”.  If I sub in the number instead of the modulus portion of the calculation SWIG wraps the structures with no complaints.  I think this should be flagged as a bug.

 

The source is c code and the target language is python.

 

-Steve

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

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.

Thank you for your cooperation

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Scott Flynn | 3 Jul 03:47 2007
Picon

How to use stl.i

Hello,
 
I am working on writing an extension and currently writing typemaps for std strings and vectors.  I have run into an issue however and have looked through many of the languages and been unable to find the solution.  I noticed that each language makes use of the stl.i file which list out the %includes for each specific std.i file.  Looking at the other languages I see no place where anyone ever includes the stl.i file.  Is this something that gets specifically included elsewhere in Swig?  When I include stl.i myself I have run into some issues.  Specifically If I run SWIG and attempt to wrap a C file it is attempting to wrap my C* functions with an std::string.  If I comment out the stl.i include everything works fine for C files but then I can no longer wrap functions that have std::string in them.  Both my C* typemap and std::string typemap work properly they are just being applied at the wrong times.  Any help would be greatly appreciated.
 
- Scott
 
 
 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
SourceForge.net | 4 Jul 17:42 2007
Picon
Picon

[ swig-Bugs-1746818 ] Directors bug with virtual protected methods

Bugs item #1746818, was opened at 2007-07-02 22:00
Message generated for change (Comment added) made by soccia79
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1746818&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: Berserker (berserker_r)
Assigned to: William Fulton (wsfulton)
Summary: Directors bug with virtual protected methods

Initial Comment:
// C++ code

%feature("director") Alfa;
class Alfa
{
public:
  Alfa() { }
  virtual ~Alfa() { }

protected:
  virtual void test() { }
};

%feature("director") Beta;
class Beta : public Alfa
{
public:
  Beta() { }
  virtual ~Beta() { }
};

// C# code

public class Gamma : Beta
{
  public Gamma() { }
  public void foo()
  {
    test();
  }
}

public static class Program
{
  static void Run()
  {
    Gamma g = new Gamma();
    g.foo();
  }
}

The "foo" call causes an access violation in the C++ code generated by swig, in particular the problem is here:

SWIGEXPORT void SWIGSTDCALL CSharp_Alfa_testSwigExplicitAlfa(void *jarg1) {
  Alfa *arg1 = (Alfa *) 0 ;
  SwigDirector_Alfa *darg = 0;

  arg1 = (Alfa *)jarg1;
  darg = dynamic_cast<SwigDirector_Alfa *>(arg1);
  (darg)->testSwigPublic();
}

arg1 is a SwigDirector_Beta instance (not SwigDirector_Alfa) so the
dynamic_cast here returns null and the "testSwigPublic" call causes an access violation.

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

Comment By: soccia79 (soccia79)
Date: 2007-07-04 15:42

Message:
Logged In: YES 
user_id=1836240
Originator: NO

Plz fix this bug, I have the same problem!!! (I'm using last SVN)

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1746818&group_id=1645

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
SourceForge.net | 12 Jul 14:31 2007
Picon
Picon

[ swig-Bugs-1752597 ] Duplicate function with smart pointer + static overload

Bugs item #1752597, was opened at 2007-07-12 13:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1752597&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: Matt Bergin (mbergin)
Assigned to: David M. Beazley (beazley)
Summary: Duplicate function with smart pointer + static overload

Initial Comment:
The following code (test.i) run with:
swig -c++ -python
generates a duplicate _wrap_C_f function in test_wrap.cxx. I'm using
version 1.3.31 compiled with g++.

Swig prints a warning "Declaration of 'f' shadows
declaration accessible via operator->()" if static void f(int) is 
removed. Adding %ignore C::operator->; fixes the problem but disables
the smart pointer functionality.

test.i
------------------------------
%module test

struct A
{
    virtual void f();
};

struct B {};

struct C : public B
{
    A* operator->();
    static void f();
    static void f(int);
};
------------------------------

The method table looks like this:

static PyMethodDef SwigMethods[] = {
     { (char *)"A_f", _wrap_A_f, METH_VARARGS, NULL},
     { (char *)"new_A", _wrap_new_A, METH_VARARGS, NULL},
     { (char *)"delete_A", _wrap_delete_A, METH_VARARGS, NULL},
     { (char *)"A_swigregister", A_swigregister, METH_VARARGS, NULL},
     { (char *)"new_B", _wrap_new_B, METH_VARARGS, NULL},
     { (char *)"delete_B", _wrap_delete_B, METH_VARARGS, NULL},
     { (char *)"B_swigregister", B_swigregister, METH_VARARGS, NULL},
     { (char *)"C___deref__", _wrap_C___deref__, METH_VARARGS, NULL},
     { (char *)"C_f", _wrap_C_f, METH_VARARGS, NULL},
     { (char *)"new_C", _wrap_new_C, METH_VARARGS, NULL},
     { (char *)"delete_C", _wrap_delete_C, METH_VARARGS, NULL},
     { (char *)"C_f", _wrap_C_f, METH_VARARGS, NULL},
     { (char *)"C_swigregister", C_swigregister, METH_VARARGS, NULL},
     { NULL, NULL, 0, NULL }
};

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

static void C::f and its overloads:

SWIGINTERN PyObject *_wrap_C_f__SWIG_0(PyObject *SWIGUNUSEDPARM(self),
PyObject *args) {
  PyObject *resultobj = 0;

  if (!PyArg_ParseTuple(args,(char *)":C_f")) SWIG_fail;
  C::f();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

SWIGINTERN PyObject *_wrap_C_f__SWIG_1(PyObject *SWIGUNUSEDPARM(self),
PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;

  if (!PyArg_ParseTuple(args,(char *)"O:C_f",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "C_f" "',
argument " "1"" of type '" "int""'");
  }
  arg1 = static_cast< int >(val1);
  C::f(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

SWIGINTERN PyObject *_wrap_C_f(PyObject *self, PyObject *args) {
  int argc;
  PyObject *argv[2];
  int ii;

  if (!PyTuple_Check(args)) SWIG_fail;
  argc = PyObject_Length(args);
  for (ii = 0; (ii < argc) && (ii < 1); ii++) {
    argv[ii] = PyTuple_GET_ITEM(args,ii);
  }
  if (argc == 0) {
    return _wrap_C_f__SWIG_0(self, args);
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_int(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_C_f__SWIG_1(self, args);
    }
  }

fail:
  SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments
for overloaded function 'C_f'.\n  Possible C/C++ prototypes are:\n
f()\n    C::f(int)\n");
  return NULL;
}

------------------------------
virtual void C::f:

SWIGINTERN PyObject *_wrap_C_f(PyObject *SWIGUNUSEDPARM(self), PyObject
*args) {
  PyObject *resultobj = 0;
  C *arg1 = (C *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;

  if (!PyArg_ParseTuple(args,(char *)"O:C_f",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_C, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "C_f" "',
argument " "1"" of type '" "C *""'");
  }
  arg1 = reinterpret_cast< C * >(argp1);
  (*arg1)->f();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1752597&group_id=1645

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
James Bigler | 13 Jul 00:09 2007
Picon

Warning message patch

Here is a patch that can be applied to the current svn HEAD that fixes some of 
the issues with regards to warning printing.

I wanted to be able to do "-Wall -w512", but specifying -Wall made it ignore all 
the other -w options.

There was also a bug that prevented a user from turning on warnings that Swig 
turns off by default (-w+512 would not work).  I moved the code that added the 
default ignore list after the arguments were parsed.  This puts the default list 
behind any user specified one in the search order.

So the following should now work properly:

-w+512      : turns on warning 512 that is turned off by default, default
               ignore list is intact.
-Wall       : turns on all warnings
-Wall -w512 : turns on all warnings, turns off 512
<nothing>   : previous behavior with default ignore list

Thanks,
James Bigler
Index: Source/Modules/main.cxx
===================================================================
--- Source/Modules/main.cxx	(revision 9864)
+++ Source/Modules/main.cxx	(working copy)
 <at>  <at>  -724,18 +724,6  <at>  <at> 
   /* Initialize the SWIG core */
   Swig_init();

-  /* Suppress warning messages for private inheritance, preprocessor
-     evaluation, might be abstract, overloaded const, and ...
-
-     WARN_PP_EVALUATION            202
-     WARN_PARSE_PRIVATE_INHERIT    309
-     WARN_TYPE_ABSTRACT            403
-     WARN_LANG_OVERLOAD_CONST      512
-     WARN_PARSE_BUILTIN_NAME       321
-     WARN_PARSE_REDUNDANT          322
-   */
-  Swig_warnfilter("202,309,403,512,321,322", 1);
-
   // Initialize the preprocessor
   Preprocessor_init();

 <at>  <at>  -802,6 +790,23  <at>  <at> 

   SWIG_getoptions(argc, argv);

+  /* Suppress warning messages for private inheritance, preprocessor
+     evaluation, might be abstract, overloaded const, and ...
+
+     Do this after you parse the command line options in case someone
+     would want to override these.
+
+     WARN_PP_EVALUATION            202
+     WARN_PARSE_PRIVATE_INHERIT    309
+     WARN_TYPE_ABSTRACT            403
+     WARN_LANG_OVERLOAD_CONST      512
+     WARN_PARSE_BUILTIN_NAME       321
+     WARN_PARSE_REDUNDANT          322
+   */
+  if (Swig_getwarnall() == 0)
+    /* Only specify these if you aren't doing -Wall */
+    Swig_warnfilter("202,309,403,512,321,322", 1);
+
   // Define the __cplusplus symbol
   if (CPlusPlus)
     Preprocessor_define((DOH *) "__cplusplus __cplusplus", 0);
Index: Source/Swig/swig.h
===================================================================
--- Source/Swig/swig.h	(revision 9864)
+++ Source/Swig/swig.h	(working copy)
 <at>  <at>  -308,6 +308,7  <at>  <at> 
   extern void Swig_error_silent(int s);
   extern void Swig_warnfilter(const String_or_char *wlist, int val);
   extern void Swig_warnall(void);
+  extern int Swig_getwarnall(void);
   extern int Swig_warn_count(void);
   extern void Swig_error_msg_format(ErrorMessageFormat format);

 <at>  <at>  -390,3 +391,4  <at>  <at> 
 }
 #endif
 #endif
+  extern int Swig_getwarnall(void);
Index: Source/Swig/error.c
===================================================================
--- Source/Swig/error.c	(revision 9864)
+++ Source/Swig/error.c	(working copy)
 <at>  <at>  -61,7 +61,7  <at>  <at> 
 void Swig_warning(int wnum, const String_or_char *filename, int line, const char *fmt, ...) {
   String *out;
   char *msg;
-  int wrn = 1;
+  int wrn = -1; /* -1: use warnall, 0: nowarn, 1: warn */
   va_list ap;
   if (silence)
     return;
 <at>  <at>  -96,7 +96,10  <at>  <at> 
       f += strlen(temp);
     }
   }
-  if (warnall || wrn) {
+  /* if wrn is -1, then we should take the default behavior */
+  if (wrn == -1)
+    wrn = warnall;
+  if (wrn) {
     String *formatted_filename = format_filename(filename);
     if (wnum) {
       Printf(stderr, wrn_wnum_fmt, formatted_filename, line, wnum);
 <at>  <at>  -211,7 +214,12  <at>  <at> 
   warnall = 1;
 }

+int Swig_getwarnall()
+{
+  return warnall;
+}

+
 /* ----------------------------------------------------------------------------- 
  * Swig_warn_count()
  *
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Swig-user mailing list
Swig-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
James Bigler | 13 Jul 05:28 2007
Picon

Re: Warning message patch

James Bigler wrote:

Here is a patch that can be applied to the current svn HEAD that fixes 
some of the issues with regards to warning printing.

I wanted to be able to do "-Wall -w512", but specifying -Wall made it 
ignore all the other -w options.

There was also a bug that prevented a user from turning on warnings that 
Swig turns off by default (-w+512 would not work).  I moved the code 
that added the default ignore list after the arguments were parsed. 
This puts the default list behind any user specified one in the search 
order.

So the following should now work properly:

-w+512      : turns on warning 512 that is turned off by default,
               default ignore list is intact.
-Wall       : turns on all warnings (like before)
-Wall -w512 : turns on all warnings, turns off 512
<nothing>   : previous behavior with default ignore list

 > -------------- next part --------------
 > An embedded and charset-unspecified text was scrubbed...
 > Name: warn-patch

Looking at the digest from swig-users, it appears my patch was munged. 
I'm trying to attach it as a .txt file and see if the mail server can 
figure it out this time.

James
Index: Source/Modules/main.cxx
===================================================================
--- Source/Modules/main.cxx	(revision 9864)
+++ Source/Modules/main.cxx	(working copy)
 <at>  <at>  -724,18 +724,6  <at>  <at> 
   /* Initialize the SWIG core */
   Swig_init();

-  /* Suppress warning messages for private inheritance, preprocessor
-     evaluation, might be abstract, overloaded const, and ...
-
-     WARN_PP_EVALUATION            202
-     WARN_PARSE_PRIVATE_INHERIT    309
-     WARN_TYPE_ABSTRACT            403
-     WARN_LANG_OVERLOAD_CONST      512
-     WARN_PARSE_BUILTIN_NAME       321
-     WARN_PARSE_REDUNDANT          322
-   */
-  Swig_warnfilter("202,309,403,512,321,322", 1);
-
   // Initialize the preprocessor
   Preprocessor_init();

 <at>  <at>  -802,6 +790,23  <at>  <at> 

   SWIG_getoptions(argc, argv);

+  /* Suppress warning messages for private inheritance, preprocessor
+     evaluation, might be abstract, overloaded const, and ...
+
+     Do this after you parse the command line options in case someone
+     would want to override these.
+
+     WARN_PP_EVALUATION            202
+     WARN_PARSE_PRIVATE_INHERIT    309
+     WARN_TYPE_ABSTRACT            403
+     WARN_LANG_OVERLOAD_CONST      512
+     WARN_PARSE_BUILTIN_NAME       321
+     WARN_PARSE_REDUNDANT          322
+   */
+  if (Swig_getwarnall() == 0)
+    /* Only specify these if you aren't doing -Wall */
+    Swig_warnfilter("202,309,403,512,321,322", 1);
+
   // Define the __cplusplus symbol
   if (CPlusPlus)
     Preprocessor_define((DOH *) "__cplusplus __cplusplus", 0);
Index: Source/Swig/swig.h
===================================================================
--- Source/Swig/swig.h	(revision 9864)
+++ Source/Swig/swig.h	(working copy)
 <at>  <at>  -308,6 +308,7  <at>  <at> 
   extern void Swig_error_silent(int s);
   extern void Swig_warnfilter(const String_or_char *wlist, int val);
   extern void Swig_warnall(void);
+  extern int Swig_getwarnall(void);
   extern int Swig_warn_count(void);
   extern void Swig_error_msg_format(ErrorMessageFormat format);

 <at>  <at>  -390,3 +391,4  <at>  <at> 
 }
 #endif
 #endif
+  extern int Swig_getwarnall(void);
Index: Source/Swig/error.c
===================================================================
--- Source/Swig/error.c	(revision 9864)
+++ Source/Swig/error.c	(working copy)
 <at>  <at>  -61,7 +61,7  <at>  <at> 
 void Swig_warning(int wnum, const String_or_char *filename, int line, const char *fmt, ...) {
   String *out;
   char *msg;
-  int wrn = 1;
+  int wrn = -1; /* -1: use warnall, 0: nowarn, 1: warn */
   va_list ap;
   if (silence)
     return;
 <at>  <at>  -96,7 +96,10  <at>  <at> 
       f += strlen(temp);
     }
   }
-  if (warnall || wrn) {
+  /* if wrn is -1, then we should take the default behavior */
+  if (wrn == -1)
+    wrn = warnall;
+  if (wrn) {
     String *formatted_filename = format_filename(filename);
     if (wnum) {
       Printf(stderr, wrn_wnum_fmt, formatted_filename, line, wnum);
 <at>  <at>  -211,7 +214,12  <at>  <at> 
   warnall = 1;
 }

+int Swig_getwarnall()
+{
+  return warnall;
+}

+
 /* ----------------------------------------------------------------------------- 
  * Swig_warn_count()
  *
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
John Lenz | 13 Jul 21:38 2007
Picon

Re: [Swig-user] Warning message patch

On 07/12/2007 10:28 PM, James Bigler wrote:

> Looking at the digest from swig-users, it appears my patch was munged.
> I'm trying to attach it as a .txt file and see if the mail server can
> figure it out this time.
> 

or post it at http://sourceforge.net/tracker/?group_id=1645&atid=301645

I looked through the patch, and it looks ok.

John

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
SourceForge.net | 16 Jul 20:04 2007
Picon
Picon

[ swig-Patches-1754967 ] Warning message patch

Patches item #1754967, was opened at 2007-07-16 12:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=301645&aid=1754967&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: James Bigler (bigler)
Assigned to: Nobody/Anonymous (nobody)
Summary: Warning message patch

Initial Comment:
Here is a patch that can be applied to the current svn HEAD that fixes some of the issues with regards to
warning printing.

I wanted to be able to do "-Wall -w512", but specifying -Wall made it ignore all the other -w options.

There was also a bug that prevented a user from turning on warnings that Swig turns off by default (-w+512
would not work).  I moved the code that added the default ignore list after the arguments were parsed. This
puts the default list behind any user specified one in the search order.

So the following should now work properly:

-w+512      : turns on warning 512 that is turned off by default,
              default ignore list is intact.
-Wall       : turns on all warnings (like before)
-Wall -w512 : turns on all warnings, turns off 512
<nothing>   : previous behavior with default ignore list

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Gmane