Johannes Meixner writes: > Hello, > > On Sep 25 21:02 Olaf Meeuwissen wrote (excerpt): >> In the >> mean time, I think we should any code that is flagged as -Wunsequenced >> (by clang) or -Wsequence-point (by gcc). > > I assume the meaning is clear but there is an omission. > What exactly should be done with such code?
Oops, I forgot a verb there. I meant to say that "we should *fix* any code [...]", where fixing is different from just making the warning go away. With the sequencing issues, we can only speculate at what the intended behaviour is, so we can't really fix things. That notwithstanding, I think we can make a decent, educated guess at a fix for both cases and make the warning go away :-| I'll have a stab at preparing patches for both. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 Support Free Software Support the Free Software Foundation https://my.fsf.org/donate https://my.fsf.org/join -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org