diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-09 11:13:31 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-09 21:27:40 +0900 |
commit | 150f514e19125ce8239602dc9266c7f68166d671 (patch) | |
tree | 7b67378a97f1106d921cac68c91a2ef1d235a03a /coverage | |
parent | 042c436cd9cfaeee7a0d7b8e35bee8dec90e972d (diff) |
workaround for C++ 98 const union problem.
Not the case of recent compilers, but compilers before C++11
rejected ruby.h, like https://ci.appveyor.com/project/ruby/ruby/builds/27225706/job/qjca7dpe204dytbd
This is supposedly because a struct with a member qualified with
a const effectively deletes its default copy constructor, which
is considered as being user-defined somehow. Not sure where
exactly is the phrase in the C++98 standard who allows such C /
C++ incompatibility though.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2434
Diffstat (limited to 'coverage')
0 files changed, 0 insertions, 0 deletions