aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1999-08-07 01:01:54 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-08-06 21:01:54 -0400
commit6ad073329cea8de835c2939dfb40c305f5568b72 (patch)
tree0207ce2b34a5962b32c2886da0b90ccf59340bee /gcc/cp/cp-tree.h
parent446588abcb3251b1ef52cdab8f7b761354c1f8d6 (diff)
downloadgcc-6ad073329cea8de835c2939dfb40c305f5568b72.zip
gcc-6ad073329cea8de835c2939dfb40c305f5568b72.tar.gz
gcc-6ad073329cea8de835c2939dfb40c305f5568b72.tar.bz2
decl.c (lookup_name_real): Set the complain flag if we're looking for a namespace member.
* decl.c (lookup_name_real): Set the complain flag if we're looking for a namespace member. * lex.c (real_yylex): We can have a number with no digits. * cvt.c (cp_convert_to_pointer): Don't force pmf conversions. * search.c (binfo_from_vbase): New fn. * cp-tree.h: Declare it. * cvt.c (cp_convert_to_pointer): Use it to diagnose conversion from pointer to member of virtual base. * typeck.c (get_delta_difference): Likewise. From-SVN: r28560
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 5c7f737..cc076a0 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3343,6 +3343,7 @@ extern void reinit_search_statistics PROTO((void));
extern tree current_scope PROTO((void));
extern tree lookup_conversions PROTO((tree));
extern tree binfo_for_vtable PROTO((tree));
+extern int binfo_from_vbase PROTO((tree));
extern tree dfs_walk PROTO((tree,
tree (*)(tree, void *),
tree (*) (tree, void *),