Olly Betts
0b4496a735
Fix testsuite SWIG warnings; enable SWIG -Werror
...
SWIG/mzscheme (aka racket) is excluded for now as it currently has a lot
of testsuite warnings and is slated for removal in 4.4.0 anyway.
Closes #3034
2024-10-22 10:30:52 +13:00
Olly Betts
6eb4cfe763
Adjust testcases to avoid warnings
...
These testcases had overloads distinguished only by short vs int
or int vs double, which isn't supported by all target languages
(e.g. Lua) and result in SWIG warnings. We aren't trying to
test such overloading here and can easily adjust to use different
function names or to overload on different types.
2024-09-26 12:07:57 +12:00
Olly Betts
619997ed06
Adjust testcase for MSVC limitations
2024-09-23 16:19:22 +12:00
Olly Betts
6b97c41e7d
Improve support for C++11 trailing return types
...
SWIG now supports const references, const and non-const rvalue
references, and enum types with an explicit `enum`, `enum class` or
`enum struct`.
Fixes #3031
2024-09-23 15:48:29 +12:00
Vadim Zeitlin
864f32159a
Merge branch 'restore-compat-wrappers-names' into C
...
Merge with the latest master including PR #2371 .
2022-09-17 14:36:37 +02:00
Olly Betts
27a3d16ac6
Allow object reference in C++ trailing return type
...
Fixes #231
2022-02-02 11:31:45 +13:00
Vadim Zeitlin
3da85eb4c5
Disable only part of cpp11_alternate_function_syntax test
...
Instead of skipping it entirely, just disable the part using member
function pointers, which are not supported in C backend.
2021-10-04 22:11:29 +02:00
William S Fulton
be63f73e33
Fix c++ compiler warnings in c++11 testcases
2017-06-03 18:37:05 +01:00
William S Fulton
f9fbaa5cb8
Another C++11 alternate function syntax test
2017-03-10 23:48:32 +00:00
William S Fulton
8e86aaf2c3
Add one more alternate function test
...
Checking member function pointer parameters
2017-03-10 23:25:31 +00:00
William S Fulton
0ccef1424a
C++11 alternate syntax for function declarations improvements
...
Functions can now be declared const/noexcept/final etc
2017-03-10 23:25:31 +00:00
William S Fulton
738cc36aab
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00