From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24642 invoked by alias); 18 Jun 2013 22:13:23 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 24629 invoked by uid 89); 18 Jun 2013 22:13:22 -0000 X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-bk0-f41.google.com (HELO mail-bk0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 18 Jun 2013 22:13:05 +0000 Received: by mail-bk0-f41.google.com with SMTP id jc3so2064090bkc.28 for ; Tue, 18 Jun 2013 15:13:03 -0700 (PDT) X-Received: by 10.204.190.7 with SMTP id dg7mr2982014bkb.52.1371593582957; Tue, 18 Jun 2013 15:13:02 -0700 (PDT) Received: from sg-laptop ([93.85.7.150]) by mx.google.com with ESMTPSA id m6sm5746911bki.7.2013.06.18.15.13.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 18 Jun 2013 15:13:01 -0700 (PDT) Date: Tue, 18 Jun 2013 22:13:00 -0000 From: Sergei Gavrikov To: Uwe Kindler cc: ecos-discuss@sourceware.org, Fabian.Buehler@ametek.com In-Reply-To: <51C0AE69.9020306@web.de> Message-ID: References: <51C0AD11.30603@web.de> <51C0AE69.9020306@web.de> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-784843152-1371593581=:6176" X-Virus-Found: No Subject: Re: [ECOS] Re: Wrong character set in Cofiguration Tool X-SW-Source: 2013-06/txt/msg00018.txt.bz2 --8323329-784843152-1371593581=:6176 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Content-length: 1786 On Tue, 18 Jun 2013, Uwe Kindler wrote: > Hi Fabian, > > I have no solution for this problem but I can confirm that it also > exists on Windows 7. The problem occures for warnings and errors. Here > is an example of console output with warnings: > > cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for > C++/ObjC++ but not for C [enabled by default] > cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but > not for C [enabled by default] > > > Hi > > The console output of the configuration tool prints out strange symbols. > > It looks like that there is a wrong character set used! Has anybody an > > idea how to fix that? > > > > I'm running the configuration tool on Windows XP with cygwin! > > > > Regards Fabian Hi That is just the quotes in UTF-8. Two examples below are true for Linux and I hope this true for Cygwin environment too. For LANG=en_US.utf8 and if terminal supports UNICODE you have to see % echo 'main(){return 0;}'>a.c % cc -Wall a.c a.c:1: warning: return type defaults to ‘int’ For standard "C" locale and for *any* terminal we see only ASCII (no potential mess) % LC_ALL=C cc -Wall a.c a.c:1: warning: return type defaults to 'int' If you set LANG variable properly and your terminal supports Unicode then you have to see normal quotes, otherwise you will see some garbage in output. So, try either to fix LANG variable or just use standard "C" locale: append a line 'export LC_ALL=C' in your ~/.bashrc and re-login. I do not sure about UTF-8 in Cygwin environment, but I hope LC_ALL=C has to help. Sergei > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > --8323329-784843152-1371593581=:6176 Content-Type: text/plain; charset=us-ascii Content-length: 148 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss --8323329-784843152-1371593581=:6176--