Am 15.03.2012 09:32, schrieb Alexander Graf: > > On 15.03.2012, at 01:11, Michael Roth <mdr...@linux.vnet.ibm.com> wrote: > >> On Thu, Mar 15, 2012 at 01:01:04AM +0100, Andreas Färber wrote: >>> My GCC handles the following code fine: >>> >>> typedef struct CPULM32State CPULM32State; >>> >>> typedef struct CPULM32State { >>> // ... >>> } CPULM32State; >>> >>> Solutions would be to >>> a) drop the second typedef, >>> b) use struct CPULM32State, >>> c) move the function using it to after the second typedef. >> >> I vote for a) > > Same here.
Long fixed. :) Wait, you haven't actually been sleeping at night this once? ;) Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg