Mercurial > octave
comparison libinterp/corefcn/gripes.h @ 21040:3e7cfee5f786
maint: Rename attributes GCC_ATTR_XXX to OCTAVE_XXX.
* oct-conf-post.in.h: Rename macros GCC_ATTR_XXX to OCTAVE_XXX. Add comments
describing purpose of macros. Add FIXME note about switching macros to C++
standard convention. Add FIXME note about using visibility attributes.
* error.cc, error.h, gripes.h, jit-typeinfo.cc, load-save.cc, oct-stream.cc,
pt-jit.cc, symtab.h, variables.h, ov-base-sparse.h, ov-base.cc, ov-base.h,
ov-class.cc, ov-classdef.cc, ov-classdef.h, ov.cc, ov.h, octave.cc, pt-mat.cc,
Array.h, DiagArray2.h, PermMatrix.h, Range.h, Sparse.h, dSparse.h, f77-fcn.h,
lo-error.c, lo-error.h, quit.h, SparseCmplxQR.cc, lo-array-gripes.h,
unwind-prot.h: Rename attributes GCC_ATTR_XXX to OCTAVE_XXX.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 05 Jan 2016 14:16:58 -0800 |
parents | e3b3bb522d62 |
children | 397f6ee4a35d |
comparison
equal
deleted
inserted
replaced
21039:53bded18aba6 | 21040:3e7cfee5f786 |
---|---|
32 | 32 |
33 //////////////////////////////////////////////////////////////////////////////// | 33 //////////////////////////////////////////////////////////////////////////////// |
34 // Alphabetized list of gripes. | 34 // Alphabetized list of gripes. |
35 //////////////////////////////////////////////////////////////////////////////// | 35 //////////////////////////////////////////////////////////////////////////////// |
36 | 36 |
37 GCC_ATTR_NORETURN OCTINTERP_API extern | 37 OCTAVE_NORETURN OCTINTERP_API extern |
38 void gripe_2_or_3_dim_plot (void); | 38 void gripe_2_or_3_dim_plot (void); |
39 | 39 |
40 GCC_ATTR_NORETURN OCTINTERP_API extern | 40 OCTAVE_NORETURN OCTINTERP_API extern |
41 void gripe_data_conversion (const char *from, const char *to); | 41 void gripe_data_conversion (const char *from, const char *to); |
42 | 42 |
43 extern OCTINTERP_API void | 43 extern OCTINTERP_API void |
44 gripe_data_file_in_path (const std::string& fcn, const std::string& file); | 44 gripe_data_file_in_path (const std::string& fcn, const std::string& file); |
45 | 45 |
46 GCC_ATTR_NORETURN OCTINTERP_API extern | 46 OCTAVE_NORETURN OCTINTERP_API extern |
47 void gripe_disabled_feature (const std::string& func, | 47 void gripe_disabled_feature (const std::string& func, |
48 const std::string& feature, | 48 const std::string& feature, |
49 const std::string& pkg="Octave"); | 49 const std::string& pkg="Octave"); |
50 | 50 |
51 extern OCTINTERP_API void | 51 extern OCTINTERP_API void |
59 | 59 |
60 extern OCTINTERP_API void | 60 extern OCTINTERP_API void |
61 gripe_implicit_conversion (const std::string& id, const std::string& from, | 61 gripe_implicit_conversion (const std::string& id, const std::string& from, |
62 const std::string& to); | 62 const std::string& to); |
63 | 63 |
64 GCC_ATTR_NORETURN OCTINTERP_API extern | 64 OCTAVE_NORETURN OCTINTERP_API extern |
65 void gripe_indexed_cs_list (void); | 65 void gripe_indexed_cs_list (void); |
66 | 66 |
67 GCC_ATTR_NORETURN OCTINTERP_API extern | 67 OCTAVE_NORETURN OCTINTERP_API extern |
68 void gripe_invalid_conversion (const std::string& from, const std::string& to); | 68 void gripe_invalid_conversion (const std::string& from, const std::string& to); |
69 | 69 |
70 GCC_ATTR_NORETURN OCTINTERP_API extern | 70 OCTAVE_NORETURN OCTINTERP_API extern |
71 void gripe_invalid_inquiry_subscript (void); | 71 void gripe_invalid_inquiry_subscript (void); |
72 | 72 |
73 extern OCTINTERP_API void | 73 extern OCTINTERP_API void |
74 gripe_invalid_value_specified (const char *name); | 74 gripe_invalid_value_specified (const char *name); |
75 | 75 |
76 extern OCTINTERP_API void | 76 extern OCTINTERP_API void |
77 gripe_logical_conversion (void); | 77 gripe_logical_conversion (void); |
78 | 78 |
79 GCC_ATTR_NORETURN OCTINTERP_API extern | 79 OCTAVE_NORETURN OCTINTERP_API extern |
80 void gripe_nonbraced_cs_list_assignment (void); | 80 void gripe_nonbraced_cs_list_assignment (void); |
81 | 81 |
82 GCC_ATTR_NORETURN OCTINTERP_API extern | 82 OCTAVE_NORETURN OCTINTERP_API extern |
83 void gripe_nonconformant (void); | 83 void gripe_nonconformant (void); |
84 | 84 |
85 GCC_ATTR_NORETURN OCTINTERP_API extern | 85 OCTAVE_NORETURN OCTINTERP_API extern |
86 void gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, | 86 void gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, |
87 octave_idx_type r2, octave_idx_type c2); | 87 octave_idx_type r2, octave_idx_type c2); |
88 | 88 |
89 GCC_ATTR_NORETURN OCTINTERP_API extern | 89 OCTAVE_NORETURN OCTINTERP_API extern |
90 void gripe_not_implemented (const char *); | 90 void gripe_not_implemented (const char *); |
91 | 91 |
92 GCC_ATTR_NORETURN OCTINTERP_API extern | 92 OCTAVE_NORETURN OCTINTERP_API extern |
93 void gripe_not_supported (const char *); | 93 void gripe_not_supported (const char *); |
94 | 94 |
95 GCC_ATTR_NORETURN OCTINTERP_API extern | 95 OCTAVE_NORETURN OCTINTERP_API extern |
96 void gripe_range_invalid (void); | 96 void gripe_range_invalid (void); |
97 | 97 |
98 GCC_ATTR_NORETURN OCTINTERP_API extern | 98 OCTAVE_NORETURN OCTINTERP_API extern |
99 void gripe_square_matrix_required (const char *name); | 99 void gripe_square_matrix_required (const char *name); |
100 | 100 |
101 GCC_ATTR_NORETURN OCTINTERP_API extern | 101 OCTAVE_NORETURN OCTINTERP_API extern |
102 void gripe_string_invalid (void); | 102 void gripe_string_invalid (void); |
103 | 103 |
104 GCC_ATTR_NORETURN OCTINTERP_API extern | 104 OCTAVE_NORETURN OCTINTERP_API extern |
105 void gripe_unrecognized_data_fmt (const char *warn_for); | 105 void gripe_unrecognized_data_fmt (const char *warn_for); |
106 | 106 |
107 GCC_ATTR_NORETURN OCTINTERP_API extern | 107 OCTAVE_NORETURN OCTINTERP_API extern |
108 void gripe_unrecognized_float_fmt (void); | 108 void gripe_unrecognized_float_fmt (void); |
109 | 109 |
110 GCC_ATTR_NORETURN OCTINTERP_API extern | 110 OCTAVE_NORETURN OCTINTERP_API extern |
111 void gripe_user_returned_invalid (const char *name); | 111 void gripe_user_returned_invalid (const char *name); |
112 | 112 |
113 GCC_ATTR_NORETURN OCTINTERP_API extern | 113 OCTAVE_NORETURN OCTINTERP_API extern |
114 void gripe_user_supplied_eval (const char *name); | 114 void gripe_user_supplied_eval (const char *name); |
115 | 115 |
116 GCC_ATTR_NORETURN OCTINTERP_API extern | 116 OCTAVE_NORETURN OCTINTERP_API extern |
117 void gripe_user_supplied_eval (octave_execution_exception& e, const char *name); | 117 void gripe_user_supplied_eval (octave_execution_exception& e, const char *name); |
118 | 118 |
119 extern OCTINTERP_API void | 119 extern OCTINTERP_API void |
120 gripe_warn_complex_cmp (void); | 120 gripe_warn_complex_cmp (void); |
121 | 121 |
180 extern OCTINTERP_API void | 180 extern OCTINTERP_API void |
181 gripe_wrong_type_arg (octave_execution_exception& e, | 181 gripe_wrong_type_arg (octave_execution_exception& e, |
182 const octave_value& tc, | 182 const octave_value& tc, |
183 bool is_error = true); | 183 bool is_error = true); |
184 | 184 |
185 GCC_ATTR_NORETURN OCTINTERP_API extern | 185 OCTAVE_NORETURN OCTINTERP_API extern |
186 void gripe_wrong_type_arg_for_binary_op (const octave_value& op); | 186 void gripe_wrong_type_arg_for_binary_op (const octave_value& op); |
187 | 187 |
188 GCC_ATTR_NORETURN OCTINTERP_API extern | 188 OCTAVE_NORETURN OCTINTERP_API extern |
189 void gripe_wrong_type_arg_for_unary_op (const octave_value& op); | 189 void gripe_wrong_type_arg_for_unary_op (const octave_value& op); |
190 | 190 |
191 #endif | 191 #endif |