Commit f7d3c5f0 by Gabriel Dos Reis Committed by Gabriel Dos Reis

cp-tree.h (compiler_error): Remove declaration.

        * cp-tree.h (compiler_error): Remove declaration.
        * lex.c (compiler_error): Remove definition.

From-SVN: r54644
parent 182e515e
2002-06-15 Gabriel Dos Reis <gdr@codesourcery.com>
* cp-tree.h (compiler_error): Remove declaration.
* lex.c (compiler_error): Remove definition.
2002-06-14 Steve Ellcey <sje@cup.hp.com>
* g++spec.c (LIBUNWIND): New.
......
......@@ -4055,8 +4055,6 @@ extern tree copy_decl PARAMS ((tree));
extern tree copy_type PARAMS ((tree));
extern tree cxx_make_type PARAMS ((enum tree_code));
extern tree make_aggr_type PARAMS ((enum tree_code));
extern void compiler_error PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1;
extern void yyerror PARAMS ((const char *));
extern void yyhook PARAMS ((int));
extern int cp_type_qual_from_rid PARAMS ((tree));
......
......@@ -1596,20 +1596,6 @@ make_aggr_type (code)
return t;
}
void
compiler_error VPARAMS ((const char *msg, ...))
{
char buf[1024];
VA_OPEN (ap, msg);
VA_FIXEDARG (ap, const char *, msg);
vsprintf (buf, msg, ap);
VA_CLOSE (ap);
error_with_file_and_line (input_filename, lineno, "%s (compiler error)", buf);
}
/* Return the type-qualifier corresponding to the identifier given by
RID. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment