From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: compilation output has many nonprintable characters, what shall I do? Date: Thu, 18 Dec 2008 22:30:49 +0000 Organization: SunSITE.dk - Supporting Open source Message-ID: <494acf13$0$90267$14726298@news.sunsite.dk> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1229640245 725 80.91.229.12 (18 Dec 2008 22:44:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2008 22:44:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 23:45:10 2008 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 1LDRc6-0000TC-RY for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 23:45:02 +0100 Original-Received: from localhost ([127.0.0.1]:52858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDRau-0000IG-Id for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 17:43:48 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news.banetele.no!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Icedove 1.5.0.14eol (X11/20080724) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 30 Original-NNTP-Posting-Host: 62.56.67.131 Original-X-Trace: news.sunsite.dk DXC=>OfZjjB_9J3jd^7_dR6Ih5YSB=nbEKnk; f2; 89Q0P2=2G1[Bg<0aH50\VT\m5_SIb6U_42Df:PaK8TcL2h5ahoT?kF_>m>CYcV?:Xnl6lgUGo7kH=KHkOQT=4oO Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:165496 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:60826 Archived-At: patiobarbecue wrote: > Dear there, > > I use M-x compile, followed by make -k, and the output always contains many > nonprintable characters like this: > > decomp.cpp:460: error: ‘setw’ was not declared in this scope > decomp.cpp:460: error: ‘setprecision’ was not declared in this scope > > Any help would be appreciated, thanks! > > Patio, Try using "LOCALE=C make -k" without the quotes as your build command. GCC tries to use smartquotes if locale supports it. However Emacs tends to get confused with them. The above command tells GCC that the shell (emacs) doesn't support smart quotes. HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.