# HG changeset patch # User Rik # Date 1668639092 28800 # Node ID fcbbb498d4af7e5f59f59b978e7dfeaa6f924f7a # Parent 7dcd8e3a705d2ebe3c2b30669bf273bc2c981054 mk-builtins.pl: Don't generate deprecated inline functions without octave:: namespace qualifier. * mk-builtins.pl: Remove Perl code to generate OCTAVE_DEPRECATED instances for inline functions not qualified with octave:: namespace. * oct-conf-post-public.in.h: Correct comment about updating macros when C++2014 is adopted by Octave. diff -r 7dcd8e3a705d -r fcbbb498d4af libinterp/mk-builtins.pl --- a/libinterp/mk-builtins.pl Wed Nov 16 15:34:00 2022 -0500 +++ b/libinterp/mk-builtins.pl Wed Nov 16 14:51:32 2022 -0800 @@ -150,23 +150,6 @@ print "\nOCTAVE_NAMESPACE_END\n"; - print "\n#if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)\n\n"; - - foreach $name (sort (@fcn_names)) - { - print "OCTAVE_DEPRECATED (7, \"use 'octave::$name' instead\") -inline octave_value_list -$name (const octave_value_list& args = octave_value_list (), int nargout = 0) -{ - return octave::$name (args, nargout); -} - -"; - } - - ## end OCTAVE_PROVIDE_DEPRECATED_SYMBOLS block - print "\n\n#endif\n"; - print "\n#endif\n"; } elsif ($make_source) diff -r 7dcd8e3a705d -r fcbbb498d4af oct-conf-post-public.in.h --- a/oct-conf-post-public.in.h Wed Nov 16 15:34:00 2022 -0500 +++ b/oct-conf-post-public.in.h Wed Nov 16 14:51:32 2022 -0800 @@ -39,7 +39,7 @@ OCTAVE_ATTRIBUTE_NAME in place of vendor specific attribute mechanisms. As compilers evolve, the underlying implementation can be changed with the macro definitions below. FIXME: Update macros - to use C++ standard attribute syntax when Octave moves to C++ 2011 + to use C++ standard attribute syntax when Octave moves to C++ 2014 standard. */ #if defined (__GNUC__)