From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: laser Newsgroups: gmane.emacs.help Subject: flymake mode does not work for header file in C++ Date: Sun, 28 Sep 2008 00:06:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: <791eff96-d999-450b-83c9-16e4e04b5165@b38g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222608311 2791 80.91.229.12 (28 Sep 2008 13:25:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2008 13:25:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 28 15:26:09 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KjwHl-0003sA-1a for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Sep 2008 15:26:05 +0200 Original-Received: from localhost ([127.0.0.1]:32908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjwGi-0006ep-ER for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Sep 2008 09:25:00 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b38g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 158.132.12.80 Original-X-Trace: posting.google.com 1222585594 10157 127.0.0.1 (28 Sep 2008 07:06:34 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 28 Sep 2008 07:06:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b38g2000prf.googlegroups.com; posting-host=158.132.12.80; posting-account=1Cmr2AoAAAA5faUWOuBodCBot659zGyG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2) Gecko/2008091620 (FoxPlus) Firefox/3.0.2, gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 ics_server.polyu.edu.hk (XLR 2.3.0.2.26) Original-Xref: news.stanford.edu gnu.emacs.help:162816 X-Mailman-Approved-At: Sun, 28 Sep 2008 09:24:42 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58159 Archived-At: I work C++ with Emacs and flymake,flymake mode work well when I open an .cpp file but not for the .h file. Bellow is my Makefile and the error message, popped out when I open an .h file. How could I fix that? Makefile: CXX=g++ .PHONY: check-syntax check-syntax: $(CXX) -Wall -S -fsyntax-only $(CHK_SOURCES) error message: Flymake: Configuration error has occured while running (make -s -C ./ CHK_SO URCES=./blurb_flymake.h SYNTAX_CHECK_MODE=1 chec\k-syntax). Flymake will be switched OFF