/* This file is part of cqual.
   Copyright (C) 2003 The Regents of the University of California.

cqual is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

cqual is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with cqual; see the file COPYING.  If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */

#ifndef ERROR_MESSAGES_H
#define ERROR_MESSAGES_H

#define BAD_RETURN "return type incompatible with function type"
#define PARAM_TYPE_NO_MATCH_d "type of parameter %d doesn't match previous uses"
#define PARAM_NO_APPEAR_d "parameter %d doesn't appear in previous uses"
#define INCONSISTENT_NUM_ARGS_s "inconsistent number of arguments for %s"
#define INCOMPAT_TYPES_IN_ASSIGN "incompatible types in assignment"
#define USE_BEFORE_DECLARATION "Use before declaration\n"
#define INCOMPAT_INIT "incompatible right-hand side in initialization"
#define DEREF_NON_PTR "dereference of non-pointer type (probably a type incompatibility across files)"
#define INCOMPAT_OP_s "incompatible operands of ``%s''"
#define TOO_MANY_ACTUAL_ARGS "too many actual arguments for function call.\n"
#define TOO_FEW_ACTUAL_ARGS "Not enough actual arguments.\n"
#define ACTUAL_NOMATCH_VARARGQ_d "type of actual argument %d doesn't match varargs qualifier"
#define ACTUAL_NOMATCH_FORMAL_d "type of actual argument %d doesn't match type of formal"

#endif
