From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans-Christian Egtvedt Date: Mon, 27 Aug 2007 15:17:20 +0200 Subject: [U-Boot-Users] [PATCH] AVR32: Change prototype of memset In-Reply-To: <20070827150751.109ac984@dhcp-255-175.norway.atmel.com> References: <46C9BA81.1080803@indefia.com> <20070827150751.109ac984@dhcp-255-175.norway.atmel.com> Message-ID: <1188220640.7840.40.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2007-08-27 at 15:07 +0200, Haavard Skinnemoen wrote: > [Adding u-boot-users to Cc] > > On Mon, 20 Aug 2007 19:00:01 +0300 > Semih Hazar wrote: > > > Signed-off-by: Semih Hazar > > --- > > > > The current top of the git tree doesn't compile. This patch changes > > the prototype according to other architectures. > > Indeed. Wonder why a file compiled for the _host_ starts pulling in > avr32-specific include files... > > Anyway, I've applied your patch since it fixes the build. But I can't > help but wonder if using target-specific headers when compiling stuff > for the host is a disaster waiting to happen... It is, Qtopia4 in Buildroot had a similar problem and crashed horribly when I tried compiling it for AVR32 arch. -- With kind regards, Hans-Christian Egtvedt, Applications Engineer