apiaryio / drafter

API Blueprint Parser (C++)
https://apiblueprint.org/
MIT License
302 stars 54 forks source link

Test on CI with gyp on GCC 4.8 #695

Closed kylef closed 5 years ago

kylef commented 5 years ago

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.

kylef commented 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.