diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1999-01-18 07:49:20 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-01-18 07:49:20 -0500 |
commit | ddaed37e0437fb5d5c9446139d4938d3e51532cb (patch) | |
tree | 3bae4ffe519aaa727042fb46d83af587564753b2 /gcc/cp/cvt.c | |
parent | 8c7707b030e111b02c9398436a7600f0a4447618 (diff) | |
download | gcc-ddaed37e0437fb5d5c9446139d4938d3e51532cb.zip gcc-ddaed37e0437fb5d5c9446139d4938d3e51532cb.tar.gz gcc-ddaed37e0437fb5d5c9446139d4938d3e51532cb.tar.bz2 |
typeck.c (comp_ptr_ttypes_reinterpret): Per ANSI, tighten up definition of 'casting away const' in reinterpret_cast<>.
* typeck.c (comp_ptr_ttypes_reinterpret): Per ANSI, tighten up
definition of 'casting away const' in reinterpret_cast<>.
* cvt.c: Add include for decl.h, remove extern for
static_aggregates which is now provided by decl.h.
* Makefile.in (cvt.o): Add dependency for decl.h and missing
dependencies for convert.h and flags.h.
* decl2.c (do_dtors): Set current location to that of the
decl, for sensible diagnostics and debugging.
(check_classfn): Issue `incomplete type' error, if
class is not defined.
* cp-tree.h: Add prototype for bound_pmf_p.
From-SVN: r24748
Diffstat (limited to 'gcc/cp/cvt.c')
-rw-r--r-- | gcc/cp/cvt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c index d112096..2b0cd53 100644 --- a/gcc/cp/cvt.c +++ b/gcc/cp/cvt.c @@ -32,8 +32,7 @@ Boston, MA 02111-1307, USA. */ #include "cp-tree.h" #include "convert.h" #include "toplev.h" - -extern tree static_aggregates; +#include "decl.h" static tree cp_convert_to_pointer PROTO((tree, tree)); static tree convert_to_pointer_force PROTO((tree, tree)); |