"larry barello" <[EMAIL PROTECTED]> wrote: > when mixing bit-wise and logical operations, is it safe to assume > that (!0 == 1) is true?
I think it is, but would have to look it up in the standard. Use <stdbool.h>, the type "bool", and the values "true" and "false" instead. That's the C99 approach. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list