Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add deprecated headers like MRI does

This shows a warning when using these headers, but there are
packages such as bcrypt-ruby that still use these deprecated
headers. The reason that bcrypt-ruby usually doesn't fail is
that it includes util.h which is a system header on most systems.

If a system didn't have a util.h present it would fail to install
like in issue #1445.

Fixes #1445
  • Loading branch information...
commit d46cc158d429c4f3f0249995deb4cb750dc90c10 1 parent 581eee8
@dbussink dbussink authored
View
1  vm/capi/19/include/ruby/backward/rubyio.h
@@ -0,0 +1 @@
+#warning use "ruby/io.h" instead of "rubyio.h"
View
1  vm/capi/19/include/ruby/backward/rubysig.h
@@ -0,0 +1 @@
+#warning rubysig.h is obsolete
View
1  vm/capi/19/include/ruby/backward/st.h
@@ -0,0 +1 @@
+#warning use "ruby/st.h" instead of bare "st.h"
View
1  vm/capi/19/include/ruby/backward/util.h
@@ -0,0 +1 @@
+#warning use "ruby/util.h" instead of bare "util.h"
Please sign in to comment.
Something went wrong with that request. Please try again.