From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Compiling grub2 on OpenBSD
Date: Fri, 1 Feb 2008 22:41:47 +0100 [thread overview]
Message-ID: <20080201214147.GB4855@thorin> (raw)
In-Reply-To: <fo00j2$qs$1@ger.gmane.org>
On Fri, Feb 01, 2008 at 12:49:11PM -0800, walt wrote:
> 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'
Sounds strange. Why do we have memcpy at all? Shouldn't it be grub_memcpy?
Redeclaring system-provided functions this way is asking for trouble...
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2008-02-01 21:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-01 20:49 Compiling grub2 on OpenBSD walt
2008-02-01 21:41 ` Robert Millan [this message]
2008-02-02 12:28 ` Yoshinori K. Okuji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080201214147.GB4855@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.