Thus spake Phil Carns:
> Actually, it does compile now that I look closer (I had a second problem 
> confusing me), but it does generate quite a few warnings like this:
> 
> pvfs2/include/pvfs2-sysint.h:44:5: warning: "INTPTR_MIN" is not defined
> pvfs2/include/pvfs2-sysint.h:44:19: warning: "INT32_MIN" is not defined
> 
> Not sure what the ramifications are of the warning, though.

Hrm, since the kernel module won't be used on Darwin (at least not this
one!), why not do something like

#ifdef __KERNEL__
/* __WORDSIZE / BITS_PER_LONG stuff */
#else
/* INTPTR_MIN / INT32_MIN stuff */
#endif


-- 
Nathan Poznick <[EMAIL PROTECTED]>

On the plus side, it's a lot easier in general to find /usr/include
than cpp. -- Larry Wall

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to