------- Comment #1 from burnus at gcc dot gnu dot org 2008-06-15 08:04 ------- doing isdigit ((int) *p) works; however, I'm not sure this is the right method - and I wonder why there is this warning only on sparc-solaris8 and not on other systems - "isdigit" takes on all systems an integer. Additionally the "array subscript" in the error message is really strange.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36540