Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Enrico Weigelt <weigelt@...>
Subject: Re: FYI: Rules for distro-friendly packages
Date: Sun, 27 Jun 2010 12:52:04 +0200
* 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 - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


Replies:
Re: FYI: Rules for distro-friendly packages
-- Richard Freeman
References:
FYI: Rules for distro-friendly packages
-- Enrico Weigelt
Re: FYI: Rules for distro-friendly packages
-- Petteri R├Ąty
Re: FYI: Rules for distro-friendly packages
-- Enrico Weigelt
Re: FYI: Rules for distro-friendly packages
-- Ciaran McCreesh
Re: FYI: Rules for distro-friendly packages
-- Enrico Weigelt
Re: FYI: Rules for distro-friendly packages
-- Sergei Trofimovich
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: FYI: Rules for distro-friendly packages
Next by thread:
Re: FYI: Rules for distro-friendly packages
Previous by date:
Re: Re: FYI: Rules for distro-friendly packages
Next by date:
Re: FYI: Rules for distro-friendly packages


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.