Olly Betts
54ddefe410
Revert "Modify fix for << in array size"
...
This reverts commit 0ff9a0959a .
The modified fix breaks Java and C#, where C constant expressions
get used in the generated target language code in some cases.
Revert this fix for now.
2022-07-27 13:45:08 +12:00
Olly Betts
0ff9a0959a
Modify fix for << in array size
...
The previous fix broke testcase arrays for Go.
2022-07-27 12:25:27 +12:00
Johan Gustavsson
628e9a79f6
swiglabels.swg: added check if __GNUC__ is defined
...
It makes sense to check if the preprocessor definition __GNUC__ is defined before using it as a value.
2016-02-13 13:49:07 +01:00
Olly Betts
ab677205d8
Suppress warning from Intel compiler
...
Fixes issue #192 , reported by kesmit13
2015-03-16 18:12:38 +13:00
Björn Esser
4490f19dcc
Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework
2015-02-10 16:40:56 +01:00
Sylvestre Ledru
7a88729c87
Remove trailing spaces in the generated code.
...
No functional changes
2013-09-13 10:02:39 +02:00
William S Fulton
db820edd23
Suppress unused methods warning for VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-22 22:12:43 +00:00
William S Fulton
ff4bfe41e7
Deal with Microsoft deprecation of standard C++ library methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 22:37:14 +00:00
Olly Betts
fb2e4b580d
Define SWIGTEMPLATEDISAMBIGUATOR to template for aCC (reported on
...
swig-user that this is needed).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-10 14:14:52 +00:00
William S Fulton
0982452472
remove last checkin which isn't used anywhere
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:27:34 +00:00
Olly Betts
cf52954bbb
Use SWIG_GE, SWIG_LE, etc instead of >=, <= since the latter cause
...
problems when used as template parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:52:24 +00:00
William S Fulton
f08834e987
Fix possible redefinition of _CRT_SECURE_NO_DEPRECATE (for VC++)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-02 20:56:33 +00:00
William S Fulton
797317163a
cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 22:02:54 +00:00
William S Fulton
a5c816aa71
Remove DllExport - it is a leftover from the C# module and was removed a while ago and should not be used.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:37:23 +00:00
Marcelo Matus
4ed49d7f2c
the visibility attribute also works with gcc3.4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 08:08:51 +00:00
Marcelo Matus
ea220fbfd7
add support for the GCC visibility attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:40:56 +00:00
Marcelo Matus
cea40215bb
add visibility attribute for GCC, now you can compile using -fvisibility=hidden
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:14:57 +00:00
Marcelo Matus
41dc3740f9
better using SWIGEXPORT for DllExport
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 06:14:23 +00:00
Marcelo Matus
52cadebd40
add the DllExport label for backward compatibility
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 18:59:41 +00:00
William S Fulton
f4428ffab0
Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:15:23 +00:00
Marcelo Matus
6d586307a2
better solution for warning of perl+cygwin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 21:04:57 +00:00
Marcelo Matus
5b3dd8d72f
fix cygwin warning for perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 20:24:04 +00:00
William S Fulton
5cf457be17
English fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:58:42 +00:00
Marcelo Matus
97bcb96a9a
fix unused for 3.3.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 21:44:56 +00:00
Marcelo Matus
a8c3748153
fix unused for 3.3.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 21:18:44 +00:00
Marcelo Matus
6d57482864
add SWIGUNUSEDPARM
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 08:42:41 +00:00
William S Fulton
cfdad24993
Use the system angle brackets for %include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
Marcelo Matus
5ab4595d76
add fast get/set for the this attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:02:34 +00:00
Marcelo Matus
b59c0b0da2
add SWIG_STATIC_POINTER helper
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:50:52 +00:00
Marcelo Matus
ba3efb0917
finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
Marcelo Matus
7564088646
fix warnings/errors for gcc4.0, icc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
66e13bf0f0
put the common error labels in a more public place, visible from java/C# and the rest
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 12:12:55 +00:00
William S Fulton
7f149959c9
Sun Studio 10 can handle templates properly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:50:26 +00:00
William S Fulton
2c68f72234
Uniform SWIGEXPORT handling, reverting back to SWIG-1.3.24 approach, plus changes which remove unnecessary Borland specific handling.
...
SWIGSTDCALL available for all languages and can be overidden by users.
General tidy up.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:35:41 +00:00
Marcelo Matus
b5875c21bb
following Bill's labels patch, we add swiglabels.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00