From: William S F. <ws...@fu...> - 2005-03-29 21:38:25
|
Yikes, didn't think it was being used. That's the problem with using numbers instead of macro names. Well spotted! William Marcelo Matus wrote: > I saw you deleted the warning > > #define WARN_TYPEMAP_DIRECTOROUT_CREF 470 > > probably you will need to add a new one since that one was been used > for warning directorout typemaps returning a const ref, such as: > > Lib/python/pyvaltypes.swg,pyptrtypes.swg: > > %typemap(directorout, > warning="470:Using thread/reentrant unsafe wrapping, > consider using a plain '"#Type"' return type instead.") const Type& { > .... > } > > Marcelo > > > > William Fulton wrote: > >> Update of /cvsroot/swig/SWIG/Source/Include >> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5437/Source/Include >> >> Modified Files: >> swigwarn.h Log Message: >> director warnings >> >> Index: swigwarn.h >> =================================================================== >> RCS file: /cvsroot/swig/SWIG/Source/Include/swigwarn.h,v >> retrieving revision 1.24 >> retrieving revision 1.25 >> diff -C2 -d -r1.24 -r1.25 >> *** swigwarn.h 2 Feb 2005 22:37:54 -0000 1.24 >> --- swigwarn.h 29 Mar 2005 20:54:44 -0000 1.25 >> *************** >> *** 148,152 **** >> #define WARN_TYPEMAP_THROW 468 >> #define WARN_TYPEMAP_DIRECTORIN_UNDEF 469 >> ! #define WARN_TYPEMAP_DIRECTOROUT_CREF 470 >> >> /* -- General code generation -- */ >> --- 148,152 ---- >> #define WARN_TYPEMAP_THROW 468 >> #define WARN_TYPEMAP_DIRECTORIN_UNDEF 469 >> ! #define WARN_TYPEMAP_DIRECTOROUT_UNDEF 470 >> >> /* -- General code generation -- */ >> *************** >> *** 190,193 **** >> --- 190,194 ---- >> #define WARN_JAVA_COVARIANT_RET 822 >> #define WARN_JAVA_TYPEMAP_JAVACONSTRUCT_UNDEF 823 >> + #define WARN_JAVA_TYPEMAP_DIRECTORIN_NODESC 824 >> >> /* please leave 810-829 free for Java */ >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Swig-cvs mailing list >> Swi...@li... >> https://lists.sourceforge.net/lists/listinfo/swig-cvs >> >> > > |