> I think Ian's remembering this thread: > http://www.mail-archive.com/[email protected]/msg05736.html > > ..the main issue being a line like this, which the compiler > warned us to add parens: > > char al = (scrollbar.align()&FL_ALIGN_LEFT!=0);
Yeah, the precedence of the bit operators is a pretty famous C wart, and the compiler is right to warn about it. I think I've even read (K &| R) acknowledging it was a mistake and saying it had to do with some legacy BCPL thing or something. Of course c++ had no choice, but even some languages that don't need source compatibility have followed in C's footsteps. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
