What does “-Wall” in “g++ -Wall test.cpp -o test” do?

It’s short for “warn all” — it turns on (almost) all the warnings that g++ can tell you about. Typically a good idea, especially if you’re a beginner, because understanding and fixing those warnings can help you fix lots of different kinds of problems in your code.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)