all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vagn Johansen <gonz808@hotmail.com>
Subject: Re: Flymake from CVS doesn't require
Date: Tue, 25 Jul 2006 22:46:38 +0200	[thread overview]
Message-ID: <uhd1576q9.fsf@hotmail.com> (raw)
In-Reply-To: mailman.4433.1153786557.9609.help-gnu-emacs@gnu.org

"Paulo J. Matos" <pocmatos@gmail.com> writes:

> On 24/07/06, Vagn Johansen <gonz808@hotmail.com> wrote:
>> "Paulo J. Matos" <pocmatos@gmail.com> writes:
>>
>> > So, flymake is only usable with CVS Emacs?
>>
>> > Or is there a version for 21.4?
>> >
>>
>> Yes. The 0.2 version
>>
>> https://sourceforge.net/project/showfiles.php?group_id=77501
>>
>
> Thanks, do you have any idea on how it works? When I open a C++ file,
> I do M-x flymake-mode but nothing seems to happen. Do I need to do any
> kind of configuration or anything?
> The page doesn't seem to provide much help.

Yes. For C++ you need a makefile with a check-syntax target. flymake
calls the check-syntax target with CHK_SOURCES set to a filename. This is
needed because flymake does not know about your includes files etc. For
same languages (eg. Perl) flymake can work without the Makefile.

Take a look at the example in flymake/samples/make-based/cpp/Makefile
(from flymake-0.2a.zip)


Also, here are two lines from one of my own makefiles

check-syntax:
	g++ -O -Wall -g $(INC) $(CHK_SOURCES)  

-- 
Vagn

  parent reply	other threads:[~2006-07-25 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-22 13:31 Flymake from CVS doesn't require Paulo J. Matos
2006-07-22 14:10 ` Eli Zaretskii
2006-07-22 15:32   ` Paulo J. Matos
2006-07-22 21:51     ` Eli Zaretskii
     [not found]   ` <mailman.4353.1153642987.9609.help-gnu-emacs@gnu.org>
2006-07-24 10:00     ` Vagn Johansen
2006-07-25  0:15       ` Paulo J. Matos
     [not found]       ` <mailman.4433.1153786557.9609.help-gnu-emacs@gnu.org>
2006-07-25 20:46         ` Vagn Johansen [this message]
2006-07-26 12:55           ` Paulo J. Matos
2006-07-26 13:21             ` Paulo J. Matos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uhd1576q9.fsf@hotmail.com \
    --to=gonz808@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.