swig/Lib/php
William S Fulton f91a9cb8e4 Use SWIG_NOEXCEPT for deprecated dynamic exception specifications
SWIG_NOEXCEPT is generated instead of throw() which is deprecated in
c++11. If c++11 or later is being used, then this macro expands to
noexcept instead of throw().

Affects director code only.

Also fix up some testcase to not use throw() when using c++11 or later.
Tested with clang and -Wdeprecated-dynamic-exception-spec as gcc
doesn't seem to warn for this deprecation.

Closes #3027
2025-04-29 22:41:09 +01:00
..
argcargv.i Tweak comment formatting 2023-05-23 09:20:31 +12:00
cdata.i cdata whitespace/cosmetic fixups 2024-06-13 10:48:15 +01:00
const.i Remove support for PHP7 2023-04-14 17:38:01 +12:00
director.swg Use SWIG_NOEXCEPT for deprecated dynamic exception specifications 2025-04-29 22:41:09 +01:00
factory.i [php] Generate PHP type declarations 2022-01-20 10:07:44 +13:00
php.swg Leave Length & string reverse order typemap in typemaps/strings.swg 2024-06-07 08:19:20 +01:00
phpinit.swg [php] Fix testcase segfaults with PHP 8.0 2022-09-29 13:13:52 +13:00
phpinterfaces.i Remove remaining traces of PHP7 support 2023-04-20 13:45:30 +12:00
phpkw.swg Renames performed by `%namewarn` with `rename=` are printed in warning message 2022-02-06 13:51:37 -05:00
phppointers.i [php] Generate PHP type declarations 2022-01-20 10:07:44 +13:00
phprun.swg Avoid unused static function warnings 2024-10-07 13:35:36 +13:00
std_auto_ptr.i Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
std_common.i php: Trim trailing whitespace from PHP typemaps 2021-03-26 10:19:57 +13:00
std_deque.i WARN_* constants are user visible, so keep existing WARN_PHP4_* for 2008-07-03 00:09:56 +00:00
std_map.i Remove deprecated map and vector specialisation macros 2023-12-03 09:55:35 +13:00
std_pair.i Consistent parameter names for std::pair 2019-02-14 22:44:27 +00:00
std_string.i Move SWIG_Php_AppendOutput out of the t_output_helper to the runtime 2024-10-06 20:34:05 +01:00
std_string_view.i Sort out directorout typemaps for std::string_view 2023-12-21 10:59:44 +13:00
std_unique_ptr.i Add const std::unique_ptr & input typemaps 2024-03-06 21:46:58 +00:00
std_vector.i php: Trim trailing whitespace from PHP typemaps 2021-03-26 10:19:57 +13:00
stl.i php: Trim trailing whitespace from PHP typemaps 2021-03-26 10:19:57 +13:00
swigmove.i Add missing SWIGTYPE MOVE typecheck typemaps 2024-03-07 08:28:06 +00:00
typemaps.i Move SWIG_Php_AppendOutput out of the t_output_helper to the runtime 2024-10-06 20:34:05 +01:00
utils.i Add note as to when t_output_helper was deprecated 2024-10-08 07:43:42 +13:00