Improve GCC diagnostic messages.

Activate GCC warning options.
Apply automatic source formatter.
Add exercise 1-6.