[ruby-cvs:67449] kosaki:r60268 (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:23 JST 2017


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

  New Revision: 60268

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

  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_block_scalar_hints?\226?\128?\153:
    ../../../ext/psych/yaml/emitter.c:2196:20: warning: assignment discards ?\226?\128?\152const?\226?\128?\153 qualifier from pointer target type [enabled by default]
             chomp_hint = "-";
                        ^

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


More information about the ruby-cvs mailing list