On Sat, 26 Jun 2010 21:57:33 +0200
Enrico Weigelt <[email protected]> wrote:
> > > #2 One point i don't agree is the "dont add -Werror" rule. actually,
> > > i'm thinking of making -Wall and -Werror mandatory. if some
> > > package doenst build fine, it's simply broken. period.
> >
> > Uhm. No. Certain compilers will give you warnings for f(g(a), g(b)) if
> > you -Wall.
>
> Warn on what exactly ? Which compilers do that ?
I suggest you to try latest available dev-lang/icc (11.1.072).
This thing is really paranoid:
remark #2259: non-pointer conversion from "int" to "unsigned char" may lose
significant bits
unsigned char BlinkerPhase = 0;
...
BlinkerPhase = (BlinkerPhase + 1) & 3;
remark #981: operands are evaluated in unspecified order (tons of them)
return strcmp( left.c_str(), right.c_str() ) > 0;
--
Sergei