C++.
cp:
* cp-tree.h (flag_cond_mismatch): Don't declare.
* decl2.c (flag_cond_mismatch): Don't define.
(lang_f_options): Remove cond-mismatch.
(unsupported_options): Add cond-mismatch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38864
138bc75d-0d04-0410-961f-
82ee72b054a4
2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
+ * invoke.texi: Document that -fcond-mismatch isn't supported for
+ C++.
+
+2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
+
* gcc.texi: Define macro gcctabopt.
* invoke.texi: Add manpage sections BUGS and AUTHOR. Use
@command, @env and @option in some places where appropriate. Use
+2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * cp-tree.h (flag_cond_mismatch): Don't declare.
+ * decl2.c (flag_cond_mismatch): Don't define.
+ (lang_f_options): Remove cond-mismatch.
+ (unsupported_options): Add cond-mismatch.
+
2001-01-09 Nathan Sidwell <nathan@codesourcery.com>
* class.c (handle_using_decl): Reject using of constructor name
extern int dollars_in_ident;
-/* Nonzero means allow type mismatches in conditional expressions;
- just make their values `void'. */
-
-extern int flag_cond_mismatch;
-
/* Nonzero means don't recognize the keyword `asm'. */
extern int flag_no_asm;
\f
/* C (and C++) language-specific option variables. */
-/* Nonzero means allow type mismatches in conditional expressions;
- just make their values `void'. */
-
-int flag_cond_mismatch;
-
/* Nonzero means don't recognize the keyword `asm'. */
int flag_no_asm;
{"short-enums", &flag_short_enums, 1},
{"short-double", &flag_short_double, 1},
{"short-wchar", &flag_short_wchar, 1},
- {"cond-mismatch", &flag_cond_mismatch, 1},
{"asm", &flag_no_asm, 0},
{"builtin", &flag_no_builtin, 0},
listed here. This table must be kept in alphabetical order. */
static const char * const unsupported_options[] = {
"all-virtual",
+ "cond-mismatch",
"enum-int-equiv",
"guiding-decls",
"nonnull-objects",
@item -fcond-mismatch
Allow conditional expressions with mismatched types in the second and
-third arguments. The value of such an expression is void.
+third arguments. The value of such an expression is void. This option
+is not supported for C++.
@item -funsigned-char
Let the type @code{char} be unsigned, like @code{unsigned char}.