emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.50 compile problem on Windows XP


From: Jason Rumney
Subject: Re: 23.0.50 compile problem on Windows XP
Date: Fri, 05 Oct 2007 09:11:03 +0100
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Eli Zaretskii wrote:
>> Date: Thu, 04 Oct 2007 23:11:56 +0100
>> From: Jason Rumney <address@hidden>
>> Cc: address@hidden
>>
>> I think it is better to remove this definition from lisp.h and include
>> stdlib.h in the files that need it.
>>     
>
> Are you assuming that stdlib.h defines `abs' as a macro?  If so, can
> you tell why this assumption is valid?  If not, how would including
> stdlib.h help with this problem?
>   
No, stdlib.h includes it as a function declaration. In the general case,
the abs macro is dangerous, as it evaluates its argument twice. Is it
really an important optimization to use a macro for this?





reply via email to

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