http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52617
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-19 14:50:34 UTC --- You should get two warnings if you use -fno-builtin But do you really want it? The compiler is smart enough to know that strlen("bla") returns 3 so the warning would be wrong.