aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@gcc.gnu.org>2007-05-31 20:58:29 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-05-31 20:58:29 +0000
commit2c751309df4f3c1021f4a8714f57ea757feec63e (patch)
treea7eb204beebfc59d90675d0ed35447f9467c1b56 /gcc/c-common.h
parent6847c43d7348b8a1eb39ed9501666bb905b89948 (diff)
downloadgcc-2c751309df4f3c1021f4a8714f57ea757feec63e.zip
gcc-2c751309df4f3c1021f4a8714f57ea757feec63e.tar.gz
gcc-2c751309df4f3c1021f4a8714f57ea757feec63e.tar.bz2
in gcc/ 2007-05-31 Daniel Berlin <dberlin@dberlin.org>
in gcc/ 2007-05-31 Daniel Berlin <dberlin@dberlin.org> * c-typeck.c (build_indirect_ref): Include type in error message. (build_binary_op): Pass types to binary_op_error. * c-common.c (binary_op_error): Take two type arguments, print out types with error. * c-common.h (binary_op_error): Update prototype. In gcc/cp 2007-05-31 Daniel Berlin <dberlin@dberlin.org> * typeck.c (build_binary_op): Include types in error. From-SVN: r125239
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 71a958d..c60ce56 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -677,7 +677,7 @@ extern tree c_sizeof_or_alignof_type (tree, bool, int);
extern tree c_alignof_expr (tree);
/* Print an error message for invalid operands to arith operation CODE.
NOP_EXPR is used as a special case (see truthvalue_conversion). */
-extern void binary_op_error (enum tree_code);
+extern void binary_op_error (enum tree_code, tree, tree);
extern tree fix_string_type (tree);
struct varray_head_tag;
extern void constant_expression_warning (tree);