From: Shashank Date Date: 2002-09-15T06:25:58+09:00 Subject: Bug in RubyInline 1.0.5 The following code fragment does not compile, using ruby 1.7.2 (2002-07-02) [i386-mswin32] #---------------------------------------------------------------------- require "inline" include Inline def showstr(*args) inline args, < printf("%s\n",STR2CSTR(argv[0])); return 0; END end showstr('Hello RubyInline') #----------------------------------------------------------------------- The work-around is to rewrite the printf( ) as follows: printf("%s\\n",STR2CSTR(argv[0])); ^^^ Notice the double back slash after %s. Hoping that this is not a "feature" ;-) Thanks, -- Shanko