|
From: | Joerg Wunsch |
Subject: | Re: [avr-gcc-list] Feature request - compiler warning for "if" stmts that do nothing |
Date: | Mon, 13 Dec 2004 18:03:17 +0100 (MET) |
"Dave Hylands" <address@hidden> wrote: > It still doesn't warn about while/for loops that are similar: > > while ( conition ); Loops of this kind are often used as spin-loops: while ((SPSR & (1 << SPIF)) == 0) ; Warning on this would be a bit wasteful. -- J"org Wunsch Unix support engineer address@hidden http://www.interface-systems.de/~j/
[Prev in Thread] | Current Thread | [Next in Thread] |