Gentoo Archives: gentoo-dev

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] FYI: Rules for distro-friendly packages
Date: Sun, 27 Jun 2010 10:57:59
Message-Id: 20100627105204.GD23460@nibiru.local
In Reply to: Re: [gentoo-dev] FYI: Rules for distro-friendly packages by Sergei Trofimovich
* Sergei Trofimovich <slyfox@g.o> schrieb:

> 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;
In this case, the compiler is wrong: it should convert to int and back to char here ;-p
> remark #981: operands are evaluated in unspecified order (tons of them) > return strcmp( left.c_str(), right.c_str() ) > 0;
I'm not sure if this really qualifies an warning, since - AFAIK - C spec never said, that there is an evaluation order for function parameters. cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: Patches / Fixes for a lot dozens of packages in dozens of versions: ---------------------------------------------------------------------


Subject Author
Re: [gentoo-dev] FYI: Rules for distro-friendly packages Richard Freeman <rich0@g.o>