Re: bug in headers (how to file a bug for such things?)
On Thu, 7 Feb 2002, Francis Bouchard wrote:
On 07/02/2002 14:24, "David A. Gatwood" <dgatwood@gatwood.net> wrote:
On Thu, 7 Feb 2002, Francis Bouchard wrote:
There is a bug in the Kernel headers:
1- create a new kext project (not IOKit).
2- this will not compile:
<snip>
#include <sys/systm.h> // SWAPPED THE INCLUDES
#include <IOKit/IOLib.h> // SWAPPED THE INCLUDES
Try adding -no-cpp-precomp to your compile options and see if
it works correctly with the headers in the original order.
No still does'nt work. I'll file a bug on PB
If that doesn't fix the problem, then it probably isn't PB's fault. Not sure what the problem is, though, unless the I/O Kit header requires content from systm.h and unless systm.h gets included implicitly for I/O Kit KEXTs or something. If so, that would be weird. Anybody? Later, David --------------------------------------------------------------------- Check out my weekly web comic: http://www.techmagazine.org _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
David A. Gatwood