[ruby-cvs:70214] shyouhei:r63124 (trunk): offsetof(type, foo.bar) is (arguably) a GCCism

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Apr 9 12:24:21 JST 2018


shyouhei	2018-04-09 12:24:21 +0900 (Mon, 09 Apr 2018)

  New Revision: 63124

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63124

  Log:
    offsetof(type, foo.bar) is (arguably) a GCCism
    
    clang -Wextended-offsetof warns this line.
    CF: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2031.htm

  Modified files:
    trunk/thread_sync.c


More information about the ruby-cvs mailing list