emacs-devel
[Top][All Lists]
Advanced

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

Re: inlinable functions instead of macros


From: Florian Weimer
Subject: Re: inlinable functions instead of macros
Date: Sun, 19 Aug 2012 19:28:07 +0200

* Stefan Monnier:

> While inlinable functions are much cleaner than macros, they have
> a very serious downside: you just end up with
>
> lisp.h:2416: Emacs fatal error: assertion failed: found == !EQ (blv->defcell, 
> blv->valcell)
>
> I.e. the file&line info is always the same rather than giving the
> file&line where the inlinable function was called.

Coincidentally, there's a related discussion on the gcc mailing list:
<http://gcc.gnu.org/ml/gcc/2012-08/msg00172.html>

The approach we settled for is C++-specific, though.



reply via email to

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