Skip to content

Conversation

@mathisloge
Copy link

This is the same as mapnik/mapnik#4189

It will replace gcc/clang specific pragma warnings with compiler independent ones.

@mathisloge
Copy link
Author

mathisloge commented Dec 16, 2020

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?

@mathisloge
Copy link
Author

\ping @flippmoke since you seem to be the active maintainer of this repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant