gcc Warnings Enable nearly all warnings


Example

C source file

gcc -Wall -Wextra -o main main.c

C++ source file

g++ -Wall -Wextra -Wconversion -Woverloaded-virtual -o main main.cpp