[macruby-changes] [5133] MacRuby/trunk/ext/digest

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 7 16:41:48 PST 2011


Revision: 5133
          http://trac.macosforge.org/projects/ruby/changeset/5133
Author:   lsansonetti at apple.com
Date:     2011-01-07 16:41:44 -0800 (Fri, 07 Jan 2011)
Log Message:
-----------
disable deprecated warnings when we build the digest extensions

Modified Paths:
--------------
    MacRuby/trunk/ext/digest/md5/extconf.rb
    MacRuby/trunk/ext/digest/rmd160/extconf.rb
    MacRuby/trunk/ext/digest/sha1/extconf.rb
    MacRuby/trunk/ext/digest/sha2/extconf.rb

Modified: MacRuby/trunk/ext/digest/md5/extconf.rb
===================================================================
--- MacRuby/trunk/ext/digest/md5/extconf.rb	2011-01-08 00:33:48 UTC (rev 5132)
+++ MacRuby/trunk/ext/digest/md5/extconf.rb	2011-01-08 00:41:44 UTC (rev 5133)
@@ -26,4 +26,6 @@
 
 $preload = %w[digest]
 
+$CFLAGS << ' -Wno-deprecated-declarations'
+
 create_makefile("digest/md5")

Modified: MacRuby/trunk/ext/digest/rmd160/extconf.rb
===================================================================
--- MacRuby/trunk/ext/digest/rmd160/extconf.rb	2011-01-08 00:33:48 UTC (rev 5132)
+++ MacRuby/trunk/ext/digest/rmd160/extconf.rb	2011-01-08 00:41:44 UTC (rev 5133)
@@ -25,4 +25,6 @@
 
 $preload = %w[digest]
 
+$CFLAGS << ' -Wno-deprecated-declarations'
+
 create_makefile("digest/rmd160")

Modified: MacRuby/trunk/ext/digest/sha1/extconf.rb
===================================================================
--- MacRuby/trunk/ext/digest/sha1/extconf.rb	2011-01-08 00:33:48 UTC (rev 5132)
+++ MacRuby/trunk/ext/digest/sha1/extconf.rb	2011-01-08 00:41:44 UTC (rev 5133)
@@ -25,4 +25,6 @@
 
 $preload = %w[digest]
 
+$CFLAGS << ' -Wno-deprecated-declarations'
+
 create_makefile("digest/sha1")

Modified: MacRuby/trunk/ext/digest/sha2/extconf.rb
===================================================================
--- MacRuby/trunk/ext/digest/sha2/extconf.rb	2011-01-08 00:33:48 UTC (rev 5132)
+++ MacRuby/trunk/ext/digest/sha2/extconf.rb	2011-01-08 00:41:44 UTC (rev 5133)
@@ -19,6 +19,8 @@
 
 $preload = %w[digest]
 
+$CFLAGS << ' -Wno-deprecated-declarations'
+
 if have_type("uint64_t", "defs.h", $defs.join(' '))
   create_makefile("digest/sha2")
 end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20110107/505d28a7/attachment.html>


More information about the macruby-changes mailing list