warning.h 661 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. *
  5. * Author: Ceriel J.H. Jacobs
  6. */
  7. /* W A R N I N G C L A S S E S */
  8. /* $Id$ */
  9. /* Warning classes, at the moment three of them:
  10. Strict (R)
  11. Ordinary (W)
  12. Old-fashioned(O)
  13. */
  14. /* Bits for a bit mask: */
  15. #define W_ORDINARY 1
  16. #define W_STRICT 2
  17. #define W_OLDFASHIONED 4
  18. #define W_ALWAYS 010 /* always given */
  19. #define W_ALL (W_ORDINARY|W_STRICT|W_OLDFASHIONED|W_ALWAYS)
  20. #define W_INITIAL (W_ORDINARY | W_OLDFASHIONED | W_ALWAYS)
  21. /* The bit mask itself: */
  22. extern int warning_classes;