[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] Generate compiler warning if not included from
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] [RFC] Generate compiler warning if not included from avr/io.h |
Date: |
Mon, 30 Sep 2002 16:17:05 +0200 |
User-agent: |
Mutt/1.2.5i |
As Theodore A. Roth wrote:
> This patch adds a simple check to each ioXXX.h file to see if the file was
> included directly or via avr/io.h.
Looks good, plese commit it.
> The second check is to verify that one and only one ioXXX.h file has been
> included. This catches the case where a user does something foolish as
> such (assume -mmcu=at90s8515):
Hmm, sounds OK, but where's this second check in the patch?
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/