diff options
| author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-31 20:58:29 +0000 |
|---|---|---|
| committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-31 20:58:29 +0000 |
| commit | 17075f13d32c5ea825bb180e85950eeb9a27f55e (patch) | |
| tree | a7eb204beebfc59d90675d0ed35447f9467c1b56 /gcc/c-common.h | |
| parent | 2fc41e3cccb507715a6e6934016a2f4337d114de (diff) | |
| download | ppe42-gcc-17075f13d32c5ea825bb180e85950eeb9a27f55e.tar.gz ppe42-gcc-17075f13d32c5ea825bb180e85950eeb9a27f55e.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
| -rw-r--r-- | gcc/c-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 71a958db93a..c60ce562a38 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); |

