emacs-devel
[Top][All Lists]
Advanced

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

Re: CC Mode and GCC/CEDET integration for evaluating macros


From: Eli Zaretskii
Subject: Re: CC Mode and GCC/CEDET integration for evaluating macros
Date: Fri, 01 May 2015 21:46:13 +0300

> From: Oleh Krehel <address@hidden>
> Date: Fri, 01 May 2015 20:23:32 +0200
> Cc: address@hidden
> 
> I tried c-macro-expand and it works well for macros defined within the
> current file, and even for the standard stuff like __TIMESTAMP__.  But
> it doesn't work, for instance for HAVE_PWD_H in editfns.c.  Do you know
> if it could work? Is it just a matter of passing some include path to
> the preprocessor call?

You need to pass it the same -I flags as used during the Emacs build,
see src/Makefile.



reply via email to

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