RPM Community Forums

Mailing List Message of <rpm-devel>

Re: HEAD doesn't compile with gcc 4.3-svn

From: Jeff Johnson <n3npq@mac.com>
Date: Sat 06 Oct 2007 - 03:57:11 CEST
Message-Id: <23B445D3-D1B3-4C70-8AEE-0251F103493F@mac.com>

On Oct 5, 2007, at 3:12 PM, Bernhard Rosenkraenzer wrote:

> debugedit.c: In function 'handle_build_id':
> debugedit.c:1374: error: static declaration of 'process' follows  
> non-static
> declaration
> debugedit.c:1372: error: previous declaration of 'process' was here
> debugedit.c:1372: error: nested function 'process' declared but  
> never defined
> make[2]: *** [debugedit.o] Error 1
>
> I think the error is somewhat weird (it makes some sense that a nested
> function inside a static function is automatically static, but  
> making the
> prototype static doesn't fix it).
>
> The attached patch fixes it, but I'm not really happy with it...
>

Hey bero!

Yah, I can see why not happy. Wotta mess.

Thanks for the patch.

73 de Jeff
Received on Sat Oct 6 03:57:47 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.