Skip to main content

g++ compile without all the stack trace to avoid displaying all the long notes

How to compile with g++ without all the stack trace to avoid displaying all the long notes.

add the parameter -Wfatal-errors 

example:

gcc -Wfatal-errors app.cpp -o app


Comments