aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/errfn.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@markmitchell.com>1998-09-07 11:35:39 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-09-07 11:35:39 +0000
commit4d6e34ea2b60f51729e3740562afa40e50be0a78 (patch)
tree38a8f31f9400b5ef6a232c7684fa3ff012adec26 /gcc/cp/errfn.c
parentb32067b2e223e4048a7e2e1689e639bfaa80900a (diff)
downloadgcc-4d6e34ea2b60f51729e3740562afa40e50be0a78.zip
gcc-4d6e34ea2b60f51729e3740562afa40e50be0a78.tar.gz
gcc-4d6e34ea2b60f51729e3740562afa40e50be0a78.tar.bz2
cp-tree.h (cp_error): Prototype.
* cp-tree.h (cp_error): Prototype. (cp_error_at): Likewise. (cp_warning): Likewise. (cp_warning_at): Likewise. (cp_pedwarn): Likewise. (cp_pedwarn_at): Likewise. (cp_compiler_error): Likewise. (cp_sprintf): Likewise. (cp_enable_warning): Likewise. * errfn.c: Remove hack to avoid error-function prototypes when including cp-tree.h. Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu> From-SVN: r22308
Diffstat (limited to 'gcc/cp/errfn.c')
-rw-r--r--gcc/cp/errfn.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cp/errfn.c b/gcc/cp/errfn.c
index 28e754f..11c6825 100644
--- a/gcc/cp/errfn.c
+++ b/gcc/cp/errfn.c
@@ -23,9 +23,6 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "tree.h"
#include "toplev.h"
-/* The declarations of cp_error and such here are incompatible with
- those in cp-tree.h. */
-#define NO_CP_ERROR_FNS
#include "cp-tree.h"
/* cp_printer is the type of a function which converts an argument into