From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3648 invoked by alias); 12 Aug 2008 15:52:18 -0000 Received: (qmail 3640 invoked by uid 22791); 12 Aug 2008 15:52:18 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Aug 2008 15:51:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KSw9f-0002FL-ES for gcc-help@gcc.gnu.org; Tue, 12 Aug 2008 08:51:27 -0700 Message-ID: <18947130.post@talk.nabble.com> Date: Tue, 12 Aug 2008 17:19:00 -0000 From: kamelopardus To: gcc-help@gcc.gnu.org Subject: Re: gcc warnings In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: killorn@yandex.ru References: <18946614.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00121.txt.bz2 Andrew Bell wrote: > > On Tue, Aug 12, 2008 at 10:25 AM, kamelopardus wrote: >> >> Hello. >> >> I use gcc 3.4.2 under mingw32. I need to put compiler warnings about >> uninitialized variables into some text file, for example, "warnings.txt". >> >> i try >> >> gcc -O -Wuninitialized -v echo.c>warnings.txt > > They are going to stderr, not stdout. Try: > > gcc -O -Wuninitialized -v echo.c 2>& > warnings.txt > > -- > Andrew Bell > andrew.bell.ia@gmail.com > > It worked, thanks. -- View this message in context: http://www.nabble.com/gcc-warnings-tp18946614p18947130.html Sent from the gcc - Help mailing list archive at Nabble.com.