+2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * c-common.c (combine_strings): Only warn about long strings for C.
+
Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
* combine.c (distribute_notes): Fix typo in last change.
/* Compute the number of elements, for the array type. */
nchars = wide_flag ? length / wchar_bytes : length;
- if (pedantic && nchars > nchars_max)
+ if (pedantic && nchars > nchars_max && c_language == clk_c)
pedwarn ("string length `%d' is greater than the minimum length `%d' ISO C%d is required to support",
nchars, nchars_max, flag_isoc99 ? 99 : 89);