On Thu, Nov 12, 2009 at 10:47 AM, Peter Stuge peter@stuge.se wrote:
svn@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