aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/language.h b/gdb/language.h
index 7e5c838..bd2a5a7 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -215,7 +215,8 @@ extern enum language_mode
/* "cast" really means conversion */
/* FIXME -- should be a setting in language_defn */
-#define CAST_IS_CONVERSION (current_language->la_language == language_c)
+#define CAST_IS_CONVERSION (current_language->la_language == language_c || \
+ current_language->la_language == language_cplus)
extern void
language_info PARAMS ((int));