add fatal warning on clang and gcc