site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CE/AUoFTohixj7NqeieVrdwfbwf5BR94A7uKc+TvTVGSW0Z94xZPDTho3vjWfrfTTPqGeeLAwOZw+IezDDuMTUUl15ViXKm1C9MOuXIlVAx7/VSD/rYKvEx9ASQVO+1G2uo/BmwmBSk3oVs4qGeBeDLAh17PFNscCEszvh83v3k= This is going to be vague because it's been a few months since I've built a kernel. Somewhere in the config files of the build system there is a file that indicates which files are to be built with the "treat warnings as errors" directive. I can't recall what that directive is exactly (no dev tools on this laptop) but simple grep on "error" may be enlightening. Anyway, it's Sunday so I hope some of that makes sense :-) -H. On 07/05/06, rick@snowhite.cis.uoguelph.ca <rick@snowhite.cis.uoguelph.ca> wrote: Ok, I feel dumb asking this, but I can't seem to find it, so... I've added a bunch of dirs to xnu-792 and the make finds them and builds them ok. (added to bsd/conf/files) However, as soon as I get a warning on any of them, the build stops. I can see that other parts of the system build with warnings and keep going. So, what's the trick to get the build environment to not stop on warnings? (I'm building on Darwin8.0.1 for i386, if that makes any difference.) I have succeeded in getting rid of the warnings, but had to add crud like the following to avoid the warnings, which isn't exactly pretty:-) /* XXX really dumb, but the compiler complains since the last arg * of vnode_waitforwrites() isn't "const char *". */ bcopy("nfsflush", stupid, 9); while ((error = vnode_waitforwrites(vp, 0, slpflag, slptimeo, stupid))) { Thanks in advance for any help, rick _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/bogvardi%40gmail.com This email sent to bogvardi@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Perhaps in your case the default config is "treat warnings as errors"? Check to see what options your added files are being compiled with. Look for the word "error" in the compile directive itself. Then you may have to do some reverse engineering to figure out the build system... This email sent to site_archiver@lists.apple.com