• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Directing compile errors to file using g++

TheLonelyPhoenix

Diamond Member
How can I redirect errors from a g++ compile to a file instead of having them all thrown on-screen? I've tried redirecting standard output like this:

g++ myCode.cpp -omyProgram > errors.lst

...but the errors still hit the screen instead.

This is under Slackware Linux, btw.
 
Back
Top