bug-gnulib
[Top][All Lists]
Advanced

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

Re: getting EBADF on MSVC


From: Bruno Haible
Subject: Re: getting EBADF on MSVC
Date: Sun, 25 Sep 2011 11:30:28 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Paul Eggert wrote:
> >>   * Why does dup2.c need to use 'inline'?...
> > 
> > Do you know the optimizing behaviour of MSVC, or are you making assumptions?
> 
> It's the other way around, no?  If we don't know the optimizing
> behavior then we should omit "inline".

I disagree. It's good and normal programming style to add 'inline' in front of
all static functions that are only used once in the compilation unit.

Bruno
-- 
In memoriam Safia Ahmed-jan <http://en.wikipedia.org/wiki/Safia_Ahmed-jan>



reply via email to

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