Red Hat Bugzilla – Bug 106304
ruby bad source code
Last modified: 2007-04-18 12:58:09 EDT
Description of problem:
I just tried to compile package ruby-1.6.8-5, from Redhat 9.0,
with compiler flag -Wall.
The compiler said
ruby.c:912: warning: operation on `s' may be undefined
The source code is
s += strlen(++s); /* this one is ok too */
You probably meant to say
s += strlen(s); /* this one is ok too */
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I haven't seen such warning since we used 1.8.0 in Raw Hide.