#warn is _not_ the GCC CPP directive that gives a warning, #warning is.
(this code has, apparently, always been wrong, but current GCC is kind enough to warn about unknown CPP directives.)
This commit is contained in:
parent
fe98f4b896
commit
169563b7c1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: disklabel.5,v 1.12 2000/07/13 10:33:52 msaitoh Exp $
|
||||
.\" $NetBSD: disklabel.5,v 1.13 2001/01/06 00:35:54 cgd Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1987, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -128,7 +128,7 @@ is
|
|||
*/
|
||||
#define MAXMAXPARTITIONS 22
|
||||
#if MAXPARTITIONS > MAXMAXPARTITIONS
|
||||
#warn beware: MAXPARTITIONS bigger than MAXMAXPARTITIONS
|
||||
#warning beware: MAXPARTITIONS bigger than MAXMAXPARTITIONS
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
*/
|
||||
#define MAXMAXPARTITIONS 22
|
||||
#if MAXPARTITIONS > MAXMAXPARTITIONS
|
||||
#warn beware: MAXPARTITIONS bigger than MAXMAXPARTITIONS
|
||||
#warning beware: MAXPARTITIONS bigger than MAXMAXPARTITIONS
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue