avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] vfscanf.c namespace clash and paren warning


From: Theodore A. Roth
Subject: [avr-libc-dev] vfscanf.c namespace clash and paren warning
Date: Fri, 2 Apr 2004 13:36:28 -0800 (PST)

Hi,

I just noticed these warnings when compiling vfprintf.c:

../../../../libc/stdio/vfscanf.c:78:1: warning: "bit_is_set" redefined
In file included from ../../../../include/avr/io.h:81,
                 from ../../../../include/avr/pgmspace.h:69,
                 from ../../../../libc/stdio/vfscanf.c:29:
../../../../include/avr/sfr_defs.h:210:1: warning: this is the location of the 
previous definition
../../../../libc/stdio/vfscanf.c: In function `vfscanf':
../../../../libc/stdio/vfscanf.c:405: warning: suggest parentheses around 
comparison in operand of &

The attached patch fixes these.

Any objections before I commit this?

Ted Roth

Attachment: avr-libc-vfprintf-warning-fix.diff
Description: Text document


reply via email to

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