bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latest CVS make compile warnings fix


From: J. Grant
Subject: Re: Latest CVS make compile warnings fix
Date: Wed, 27 Jul 2005 23:59:29 +0100
User-agent: Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

On 24/07/05 18:04, Paul D. Smith wrote:
%% "J. Grant" <address@hidden> writes:

  jg> Perhaps there could be a way to force setting of config.h macro's
  jg> for those circumstances.

I was thinking of something like that too.  I have to go back and
examine that code again deeply enough to understand it: I can't remember
enough about the details to know whether something like this is
reasonable.

  jg> Although, if the code simply worked with int's in all cases I
  jg> think this warning would not come up.

It can't, though, or it won't work right.  That's the point.  Sometimes

Ah. ok.  So if we were to change it to functions we would only have to
have code which did a (int) cast on those specific platforms arguments.
As the function would work with int, there would be no warning when it
checked it was not > 0.

Kind regards
JG







reply via email to

[Prev in Thread] Current Thread [Next in Thread]