help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Flymake hanging with C


From: Andrea Crotti
Subject: Re: Flymake hanging with C
Date: Thu, 14 Oct 2010 13:10:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

Andrea Crotti <andrea.crotti.0@gmail.com> writes:

> I remember some time ago it was working fine, but now with
> GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29) of
> 2010-05-09 on linc
>
> it doesn't anymore.
> In short I have a C project with a makefile, if I try to enable flymake
> the first time it complains, the second it crashes and I have to kill
> Emacs...(I don't try again now because it's a pain to restart again)
>
> In the configuration of flymake I don't find anything useful, maybe any
> of you has the same problem?
> And have solved it somehow?
>
> Did you configure anything at all for C?
> (It works perfectly for python for example...)


Actually I just had to read better, it's enough to create in the
makefile a target like

--8<---------------cut here---------------start------------->8---
check-syntax:
        gcc -o nul -S ${CHK_SOURCES}
--8<---------------cut here---------------end--------------->8---

but I still don't get how to make it more general, maybe with some
buffer variables.
I don't always have the possibility to add my own targets to the
Makefile and/or is not so easy sometimes...




reply via email to

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