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
1 On Sat, 26 Jun 2010 21:57:33 +0200
2 Enrico Weigelt <weigelt@×××××.de> wrote:
3
4 > > > #2 One point i don't agree is the "dont add -Werror" rule. actually,
5 > > > i'm thinking of making -Wall and -Werror mandatory. if some
6 > > > package doenst build fine, it's simply broken. period.
7 > >
8 > > Uhm. No. Certain compilers will give you warnings for f(g(a), g(b)) if
9 > > you -Wall.
10 >
11 > Warn on what exactly ? Which compilers do that ?
12
13 I suggest you to try latest available dev-lang/icc (11.1.072).
14 This thing is really paranoid:
15
16 remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits
17 unsigned char BlinkerPhase = 0;
18 ...
19 BlinkerPhase = (BlinkerPhase + 1) & 3;
20
21 remark #981: operands are evaluated in unspecified order (tons of them)
22 return strcmp( left.c_str(), right.c_str() ) > 0;
23
24 --
25
26 Sergei

Replies

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