# HG changeset patch # User Rik # Date 1372623063 25200 # Node ID f160f9029b4e0396a583c31ae7ab410077064929 # Parent 898f902006df0b3abb7817ee9043f8ae30b423fa Add deprecated compiler flag to Octave_map class. * libinterp/interp-core/oct-map.h: Add GCC_DEPRECATED_ATTR mark on Octave_map class. diff -r 898f902006df -r f160f9029b4e libinterp/interp-core/oct-map.h --- a/libinterp/interp-core/oct-map.h Sun Jun 30 12:58:03 2013 -0700 +++ b/libinterp/interp-core/oct-map.h Sun Jun 30 13:11:03 2013 -0700 @@ -473,8 +473,8 @@ inline octave_map octave_value_extract (const octave_value& v) { return v.map_value (); } -// The original Octave_map object. Octave_map and octave_map are convertible to -// each other. +// The original Octave_map object which is now deprecated. +// Octave_map and octave_map are convertible to each other. class OCTINTERP_API @@ -654,6 +654,6 @@ if (! contains (k)) key_list.push_back (k); } -}; +} GCC_ATTR_DEPRECATED; #endif