On Tue, 12 Aug 2008, 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.txtThey are going to stderr, not stdout. Try: gcc -O -Wuninitialized -v echo.c 2>& > warnings.txt
I think you mean: gcc -O -Wuninitialized -v echo.c > warnings.txt 2>&1