Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] FYI: Rules for distro-friendly packages
Date: Sun, 27 Jun 2010 06:09:19
Message-Id: 20100627090900.5378b5db@mosly
In Reply to: Re: [gentoo-dev] FYI: Rules for distro-friendly packages by Enrico Weigelt
On Sat, 26 Jun 2010 21:57:33 +0200
Enrico Weigelt <weigelt@×××××.de> 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

Replies

Subject Author
Re: [gentoo-dev] FYI: Rules for distro-friendly packages Enrico Weigelt <weigelt@×××××.de>