Subject: Re: kern/36918: NetBSD 4.0_RC1 __NetBSD_Version__ botch
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Pavel Cahyna <pavel@NetBSD.org>
List: netbsd-bugs
Date: 11/18/2007 13:45:02
The following reply was made to PR kern/36918; it has been noted by GNATS.

From: Pavel Cahyna <pavel@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/36918: NetBSD 4.0_RC1 __NetBSD_Version__ botch
Date: Sun, 18 Nov 2007 14:41:21 +0100

 your example code is mistaken, starting with the comment:
 
 > #if __NetBSD_Prereq__(4,0,0)	/* require NB 4.0 or lower */
 
 No, this actually requires NB 4.0 *or higher*.
 
 > 	/* whatever code */
 > #endif
 > 
 > 
 > and compile that on a 4.0 RC1 system.   Watch it fail
 > (that is, 4.0 RC1 is an "advanced" system over 4.0).
 
 The code inside such #ifdef block is compiled in on NetBSD 4.0_RC4 and
 will be on NetBSD 4.0 release. I don't know what your "watch it fail"
 refers to. (Have you actually tried it?)
 
 Unless there is another example to show some actual problem, I am going to
 close this PR.