[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] prog_mem limitation?

From: Bob Paddock
Subject: Re: [avr-gcc-list] prog_mem limitation?
Date: Tue, 13 May 2008 13:16:11 -0400

Indeed, the compiler spit out a warning on the non-'static'

main.c: In function 'test':
main.c:294:warning: '__progmem__' attribute ignored

which whipped by and I missed it before.  
Add this to your Makefile to enforce a "No Warnings Allowed" policy:
# -Werror : Make all warnings into errors.
CFLAGS +=  -Werror
Then compilation stops on warnings until you fix them.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]