emacs-devel
[Top][All Lists]
Advanced

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

Re: INLINE is disabled


From: Eli Zaretskii
Subject: Re: INLINE is disabled
Date: Sat, 20 Nov 2010 12:38:27 +0200

> From: Dan Nicolaescu <address@hidden>
> Date: Sat, 20 Nov 2010 03:44:52 -0500
> 
> 
> From configure.in:

You meant config.in, right?

> /* If using GNU, then support inline function declarations.  */
> /* Don't try to switch on inline handling as detected by AC_C_INLINE
>    generally, because even if non-gcc compilers accept `inline', they
>    may reject `extern inline'.  */
> #if defined (__GNUC__) && defined (OPTIMIZE)
> #define INLINE __inline__
> #else
> #define INLINE
> #endif
> 
> OPTIMIZE is never defined, so we always use #else...
> 
> Should we just remove  "&& defined (OPTIMIZE)"? 

Yes, I think so.  FWIW, nt/config.nt uses the above without OPTIMIZE
for quite some time.

> On the 23 branch too?

Not sure about that one, as we are in pretest.



reply via email to

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