William S Fulton
cb64f65bae
SWIG license change - Source moves to GPLv3
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:53:33 +00:00
William S Fulton
3b06d6e442
subtle fix to -Fmicrosoft format adding in missing space
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-10 22:51:19 +00:00
William S Fulton
237f64a6e1
subtle fix to -Fmicrosoft format adding in missing space
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-10 22:37:28 +00:00
William S Fulton
1b3ca38023
Slight change to warning, error and diagnostic reporting. The warning number is no longer shown within brackets. This is to help default parsing of warning messages by other tools, vim on Unix in particular.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 00:42:01 +00:00
William S Fulton
6b2fe71e0e
Add Swig_diagnostic() for displaying file and line number messages to stdout
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-24 16:51:45 +00:00
Haoyu Bai
6d2aef67d9
Replaced all [const] String_or_char * to const_String_or_char_ptr, by the following command:
...
sed -i "s/\(const \)\?String_or_char \*/const_String_or_char_ptr /g" CParse/* Include/* Modules/* Preprocessor/* Swig/*
This is a preparation for moving to new DOH, since for strong typed objects we need the const_String_or_char_ptr class to implicit convert to and from String * or const char *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-24 13:15:51 +00:00
William S Fulton
f1cabd08a2
fix stack overflow when using typemap warning suppression, eg %warnfilter(SWIGWARN_TYPEMAP_CHARLEAK_MSG)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 21:21:29 +00:00
William S Fulton
87577ab5e6
new -Werror option and fixes for turning on warnings which are normally turned off
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-31 22:20:21 +00:00
Dave Beazley
7a826c8b6d
Changed Header keyword to Id for SVN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 21:57:44 +00:00
William S Fulton
aa04c4c057
beautify/format source code with gnu indent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
Olly Betts
8904cc86c1
Use DOH String instead of static char buffers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 23:10:49 +00:00
William S Fulton
7f74b8e7a3
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus
89e7497ac6
add support for named warning codes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Marcelo Matus
628dc6b32b
add NewStringEmpty, use more StringEuqual and less Strcmp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
4897829d0f
allow overide the warn codes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:50:46 +00:00
William S Fulton
70891c9867
Fixes for -fmicrosoft error/warning message display:
...
- EOF not displaying in correct format
- Some error messages containing a path were using a double backslash instead of a single backslash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:34:41 +00:00
Marcelo Matus
bd9aa0c7c9
- Normalize the 'Swig_error' calls and formats, before some
...
of the strings start like "Error. XXX", others like "XXX".
The format is now defined in 'error.c:Swig_error_msg_format()'.
- Normalize the multiline error/warning messages to correctly
use -Fformat definition.
- Centralize the error/warning format definitions in
'error.c:Swig_error_msg_format()'.
- Fix a minor error in cpp.c, that after finding an error, still
was emitting a redefined macro, producing duplicated error/warning
messages in parser.y.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 08:33:12 +00:00
William S Fulton
6c61bbf852
Warning and error messages output is selectable via commandline options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-10 00:08:18 +00:00
Marcelo Matus
eed2349c8f
Fixed not '0' terminated string, that could result in a getting a bad error code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 00:11:18 +00:00
Dave Beazley
c65d99b765
Eliminated compiler warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:47:53 +00:00
Dave Beazley
12a43edc2d
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00