Update of bug #18818 (project avr-libc):

                  Status:                    None => Invalid                
             Assigned to:                    None => joerg_wunsch           

    _______________________________________________________

Follow-up Comment #1:

Works as designed:

$252% cat > foo.c
#include <avr/io.h>

void foo(void)
{
  UCSR1A = 42;
}
^D
$ avr-gcc -mmcu=atmega644p -c foo.c
$ avr-gcc -mmcu=atmega644 -c foo.c
foo.c: In function 'foo':
foo.c:5: error: 'UCSR1A' undeclared (first use in this function)
foo.c:5: error: (Each undeclared identifier is reported only once
foo.c:5: error: for each function it appears in.)

Are you perhaps using an obsolete version of compiler and/or
library?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18818>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to