removal of warning with pedantic on clang