[ruby-cvs:50258] naruse:r43116 (trunk): * vm_core.h: use __has_attribute() instead of __clang__major__ because

naruse at ruby-lang.org naruse at ruby-lang.org
Wed Oct 2 15:50:48 JST 2013


naruse	2013-10-02 15:50:47 +0900 (Wed, 02 Oct 2013)

  New Revision: 43116

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43116

  Log:
    * vm_core.h: use __has_attribute() instead of __clang__major__ because
      clang says "Note that marketing version numbers should not be used
      to check for language features, as different vendors use different
      numbering schemes. Instead, use the Feature Checking Macros."
      http://clang.llvm.org/docs/LanguageExtensions.html

  Modified files:
    trunk/ChangeLog
    trunk/vm_core.h


More information about the ruby-cvs mailing list