Closed kylef closed 5 years ago
@tjanc any ideas why this would fail on CI? Yet the same code compiles on GCC 4.8.4 elsewhere with Protagonist on Travis CI.
../src/refract/JsonSchema.cc:678:55: error: missing initializer for member '{anonymous}::ObjectSchema::properties' [-Werror=missing-field-initializers]
ObjectSchema optionSchema{};
EDIT: There is different warning-as-error configuration.
GCC 4.8 is the oldest compiler we support with gyp (in Protagonist) and we've introduced compiler support regressions such as https://github.com/apiaryio/drafter/pull/691. This can be avoided in the future if we CI against this version.