[coreboot] [commit] r4939 - in trunk: . src src/arch/i386/boot src/arch/i386/include/arch/smp src/console src/cpu/emulation/qemu-x86 src/devices src/include/smp src/lib src/mainboard/emulation/qemu-x86 util/x86emu

Myles Watson mylesgw at gmail.com
Thu Nov 12 18:53:40 CET 2009


On Thu, Nov 12, 2009 at 10:47 AM, Peter Stuge <peter at stuge.se> wrote:
> svn at coreboot.org wrote:
>> +++ trunk/src/include/smp/spinlock.h  2009-11-12 16:38:03 UTC (rev 4939)
> ..
>> -/* Most GCC versions have a nasty bug with empty initializers */
>> -#if (__GNUC__ > 2)
>
> Maybe add
>
> #if __GNUC__ < 3
> #error Sorry, at least gcc-3 is needed to build coreboot.
> #endif
>
> ?
I took out the part that used to break some versions of gcc.  Now
there is a blank line instead of an empty initializer.  Is there
something I'm missing that will break gcc < 3?

Thanks,
Myles




More information about the coreboot mailing list