[U-Boot-Users] u-boot compile failure with gcc-3.4.x and fix.

Wolfgang Denk wd at denx.de
Thu Jul 1 18:52:06 CEST 2004


In message <71555548814716479478431542AA5F8ADF8BAB at dlee2k04.ent.ti.com> you wrote:
> 
> I'm noticing that the examples directory fails to compile with
> gcc-3.4.0.  The _exports.h symbols are not making it into stubs.o .
> 
> I found that the compile works if you:
> 
> Change:
> 	static void __attribute__((unused)) dummy(void)
> to:
> 	void __attribute__((unused)) dummy(void)

Thanks for pointing out. I think I'll enable the "static"  part  only
for GCC_VERSION <= 3004.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"There is nothing new under the sun, but there are lots of old things
we don't know yet."                                  - Ambrose Bierce




More information about the U-Boot mailing list