[Bug c/52617] -Wconversion does not work for strlen
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52617 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|
[Bug c/52617] -Wconversion does not work for strlen
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52617 --- Comment #1 from Jonathan Wakely 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.