use -pedantic flag in GCC