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: Paul Eggert
Subject: Re: inlinable functions instead of macros
Date: Fri, 24 Aug 2012 19:58:10 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 08/24/2012 06:38 PM, Tom Tromey wrote:
> I wonder if there is a gdb deficiency we can easily address.

I looked into this and it turns out that it can be addressed,
on the platforms that support "gcc -g3".  -g3 is not the default,
which means random Emacs builds are unlikely to work with GDB and
macros.  Still, gcc -g3 works on my main platform, which removes
much of that issue with macros.

Macros' main problems are their gotchas with side effects and scoping,
alas, which gcc -g3 doesn't fix.



reply via email to

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