ack/lang/m2/comp/warning.h

31 lines
661 B
C
Raw Normal View History

/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*
* Author: Ceriel J.H. Jacobs
*/
/* W A R N I N G C L A S S E S */
1994-06-24 14:02:31 +00:00
/* $Id$ */
1986-11-05 14:33:00 +00:00
/* Warning classes, at the moment three of them:
Strict (R)
Ordinary (W)
Old-fashioned(O)
*/
/* Bits for a bit mask: */
#define W_ORDINARY 1
#define W_STRICT 2
#define W_OLDFASHIONED 4
#define W_ALWAYS 010 /* always given */
1986-11-05 14:33:00 +00:00
#define W_ALL (W_ORDINARY|W_STRICT|W_OLDFASHIONED|W_ALWAYS)
1986-11-05 14:33:00 +00:00
#define W_INITIAL (W_ORDINARY | W_OLDFASHIONED | W_ALWAYS)
1986-11-05 14:33:00 +00:00
/* The bit mask itself: */
extern int warning_classes;