[ruby-cvs:67448] kosaki:r60267 (trunk): kill "discards ?\226?\128?\152const?\226?\128?\153 qualifier" warning

kosaki at ruby-lang.org kosaki at ruby-lang.org
Sat Oct 21 22:15:11 JST 2017


kosaki	2017-10-21 22:15:11 +0900 (Sat, 21 Oct 2017)

  New Revision: 60267

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

  Log:
    kill "discards ?\226?\128?\152const?\226?\128?\153 qualifier" warning
    
    Kill following warning.
    
    ../../../ext/psych/yaml/emitter.c: In function ?\226?\128?\152yaml_emitter_write_folded_scalar?\226?\128?\153:
    ../../../ext/psych/yaml/emitter.c:2283:5: warning: passing argument 2 of ?\226?\128?\152yaml_emitter_write_indicator?\226?\128?\153 discards ?\226?\128?\152const?\226?\128?\153 qualifier from pointer target type [enabled by default]
         if (!yaml_emitter_write_indicator(emitter, ">", 1, 0, 0))
         ^

  Modified files:
    trunk/ext/psych/yaml/emitter.c


More information about the ruby-cvs mailing list