Re: [gtkmm] Piping compiler error to a file - How?



"Laughlin, Joseph V" <Joseph V Laughlin boeing com> writes:

> If you are using a makefile, do "make > compile_errors.txt"
>
> If you are doing it by hand, do "g++ -o stuff stuff.cc >
> compile_errors.txt" or whatever your compile line is.

Except that compiler errors are sent to stderr, so you should do
make 2> compile_errors.txt

-- 
Fredrik Arnerup <e97_far e kth se>
http://www.stacken.kth.se/~foo/



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