#ifdef vs #if for feature checks

Michael Stahl mstahl at redhat.com
Tue Mar 19 08:35:04 PDT 2013


On 19/03/13 16:25, Christian Lohmaier wrote:
> Hi Tor, *,
> 
> On Tue, Mar 19, 2013 at 6:51 AM, Tor Lillqvist <tml at iki.fi> wrote:
>>> otoh, #pragma once is supported by all the compiler we use isn't it ?
>>
>> Excellent! Let's do that, unless somebody comes up with a
>> counter-argument in a week or so.
> 
> This doesn't help when the same file is used from two different
> locations, let's say from solver and the module (should not happen,
> but...)

we want to kill the "delivering" of headers anyway, so (with possible
exception of URE headers) this problem will go away if it even exists now.




More information about the LibreOffice mailing list