Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "non-trivial designated initializers not supported" errors
With g++ v7.3.1 (used with Amazon Linux 2), compiling the extension would fail with these errors: ``` compiling re2.cc re2.cc:176:1: sorry, unimplemented: non-trivial designated initializers not supported }; ^ re2.cc:221:1: sorry, unimplemented: non-trivial designated initializers not supported }; ^ re2.cc:251:1: sorry, unimplemented: non-trivial designated initializers not supported }; ^ re2.cc:1610:1: sorry, unimplemented: non-trivial designated initializers not supported }; ^ ``` This appears to be happening because the `parent` and `data` fields in `rb_data_type_struct` were omitted.
- Loading branch information