Issue #10802 has been updated by Vit Ondruch.
Status changed from Open to Closed
Fixed by r55831 and r55833. Backport requested in #12657.
----------------------------------------
Bug #10802: strict-aliasing warning on RHEL/CentOS 6
https://bugs.ruby-lang.org/issues/10802#change-61168
* Author: Vit Ondruch
* Status: Closed
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.3.0dev (2015-01-30) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED
----------------------------------------
Is there a chance to suppress the strict-aliasing warning:
~~~
string.c: In function [e28098]rb_fstring_new[e28099]:
string.c:270: warning: dereferencing pointer [e28098]fake_str.60[e28099] does break strict-aliasing rules
string.c:270: note: initialized from here
~~~
Which I observe on RHEL6:
http://c64b.rubyci.org/~chkbuild/ruby-trunk/log/20150130T092302Z.log.html.gz
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>