On Thu, 24 Jun 2004, Andreas Metzler wrote:
> 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).
Indeed. That is one of the warnings I have to turn off. I wish the
original designers of the C standard had thought a bit more about the
signed/unsigned char issue. It is a *huge* hassle to deal with and I
have been "gotcha'd" by it many times.
Regards,
Philip
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.