Re: [Exim-dev] Code quality measurements and automated check…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Andreas Metzler
Data:  
Para: exim-dev
Assunto: Re: [Exim-dev] Code quality measurements and automated checks
On 2004-06-24 Philip Hazel <ph10@???> wrote:
[...]
> I run gcc with as many warnings turned on as I dare;

[...]

As you just mention compiler warnings: exim needs
-fno-strict-aliasing as there are many instances of "dereferencing
type-punned pointer will break strict-aliasing rules", caused by casts
like "(char **)(&foo)" where foo is a pointer to unsigned char
(sourcecode: CSS(foo) with foo being a uchar).
                 cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"