http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009
--- Comment #8 from Daniel Richard G. <skunk at iskunk dot org> 2012-05-14 03:19:36 UTC --- Marc, thank you for the pointer. The single-line-edit case, at least, seems straightforward enough. Here's my stab at it: /* * stdlib.h on AIX 4.3 declares strtof() with a non-const first argument. */ fix = { hackname = aix_strtof_const; files = stdlib.h; select = "(extern float +strtof)\(char \*, char \*\*\)"; c_fix = format; c_fix_arg = "%1(const char *, char **)"; test_text = "strtof(char *, char **);"; };