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