[Win32utils-devel] Problem with win32-service

Nathaniel Talbott
2005-03-16T11:08:20Z

It compiles fine, but when the resulting library is required, it says:

  C:\_co\source\build\ruby\extensions\win32-service-0.4.5\test>ruby
tc_daemon.rb
  C:/_co/source/build/ruby/extensions/win32-service-0.4.5/win32/service.so:
`interactive?'' is not proper name for a struct member (NameError)
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require''
        from tc_daemon.rb:14

ruby -v says:

  ruby 1.8.2 (2005-03-14) [i386-mswin32]

Looking at ruby CVS, it appears that this behavior was introduced to
struct.c on March 4th, and disallows adding members ending with a
''?''
(as the error indicates). I''m going to patch this locally, but figured
you''d want to know.

Thanks

--
Nathaniel

<:((><