Re: gcc warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Andrew Bell wrote:
> 
> On Tue, Aug 12, 2008 at 10:25 AM, kamelopardus <killorn@xxxxxxxxx> 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@xxxxxxxxx
> 
> 


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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux