I got grub2 compiled on NetBSD, so now on to OpenBSD:

In file included from ../util/i386/pc/grub-mkimage.c:29:
../include/grub/misc.h:43: warning: conflicting types for built-in function 
`memcpy'
In file included from ../util/i386/pc/grub-mkimage.c:33:
/usr/include/string.h:60: error: conflicting types for `memcpy'
../include/grub/misc.h:43: error: previous declaration of `memcpy'

And here is the offending definition from /usr/include/string.h:

void    *memcpy(void *, const void *, size_t)
                __attribute__ ((__bounded__(__buffer__,1,3)))
                __attribute__ ((__bounded__(__buffer__,2,3)));

This is only the first of many such weird things I expect to
show up.  (OpenBSD has blazed its own trail to another planet
over the years :o)



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to