From: Marcelo M. <mar...@us...> - 2005-12-07 07:46:17
|
Update of /cvsroot/swig/SWIG In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18249 Modified Files: CHANGES.current Log Message: CHANGES.current Index: CHANGES.current =================================================================== RCS file: /cvsroot/swig/SWIG/CHANGES.current,v retrieving revision 1.481 retrieving revision 1.482 diff -C2 -d -r1.481 -r1.482 *** CHANGES.current 6 Dec 2005 20:14:55 -0000 1.481 --- CHANGES.current 7 Dec 2005 07:46:06 -0000 1.482 *************** *** 4,8 **** 12/06/2005: mmatus ! Several memory and speed improvements, specially for templates. Now swig is up to 20 faster than before for large template interfaces, such as the std_containers.i --- 4,8 ---- 12/06/2005: mmatus ! - Several memory and speed improvements, specially for templates. Now swig is up to 20 faster than before for large template interfaces, such as the std_containers.i *************** *** 13,16 **** --- 13,30 ---- + - add option "cpperraswarn/nocpperraswarn" to force the swig + preprocessor to treat the #error directive as a #warning. + + the default behavior is cpperraswarn, so, swig doesn't + stop while encountering an #error directive. + + the pragmas + + #pragma SWIG cpperraswarn=1 + #pragma SWIG cpperraswarn=0 + + are equivalent to the command line options, respectively. + + 12/06/2005: mmatus [Python] The generated code is now more portable, specially |