[ruby-cvs:73134] k0kubun:r66034 (trunk): regparse.c: conform C90

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Nov 27 20:24:19 JST 2018


k0kubun	2018-11-27 20:24:19 +0900 (Tue, 27 Nov 2018)

  New Revision: 66034

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

  Log:
    regparse.c: conform C90
    
    ../regparse.c:5908:28: error: initializer for aggregate is not a compile-time constant [-Werror,-Wc99-extensions]
          Node* sequence[] = { np1, np2, np3, ((Node* )0) };
                               ^~~
    
    https://travis-ci.org/ruby/ruby/jobs/460197620

  Modified files:
    trunk/regparse.c


More information about the ruby-cvs mailing list