Open mathisloge opened 3 years ago
mhm. https://travis-ci.com/github/mapbox/geometry.hpp/jobs/460974148 fails due to the format run.
The line #define MAPBOX_GEOMETRY_DISABLE_WARNING_FLOAT_EQUAL MAPBOX_GEOMETRY_DISABLE_WARNING(-Wfloat-equal)
should be formatted to #define MAPBOX_GEOMETRY_DISABLE_WARNING_FLOAT_EQUAL MAPBOX_GEOMETRY_DISABLE_WARNING(-Wfloat - equal)
But that results in a build error because of the spaces between Wfloat and equal. Does any one know how to ignore the formatting at this line?
Is wrapping the line in// clang-format [off/on]
enough for the ci?
\ping @flippmoke since you seem to be the active maintainer of this repo?
This is the same as https://github.com/mapnik/mapnik/pull/4189
It will replace gcc/clang specific pragma warnings with compiler independent ones.