Commit a7537031 by Joseph Myers Committed by Joseph Myers

invoke.texi: Document that -fcond-mismatch isn't supported for C++.

	* invoke.texi: Document that -fcond-mismatch isn't supported for
	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.

From-SVN: r38864
parent 2642624b
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
......
......@@ -990,11 +990,6 @@ extern tree global_namespace;
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;
......
......@@ -139,11 +139,6 @@ static tree decl_namespace_list;
/* 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;
......@@ -492,7 +487,6 @@ lang_f_options[] =
{"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},
......@@ -536,6 +530,7 @@ lang_f_options[] =
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",
......
......@@ -1071,7 +1071,8 @@ string constants can contain the newline character as typed.)
@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}.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment