Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Unity builds, and enable for windows CI #2361

Merged
merged 6 commits into from
Mar 7, 2023
Merged

Conversation

ndevenish
Copy link
Member

  • local.h had a duplicated inclusion guard
  • dR_from_axis_and_angle included the default arguments twice, to get around an ODR violation. That has been fixed by marking it as "inline"
  • Fix include of headers in scitbx that do not have duplicate inclusion guards. This makes a dials-local copy to add guards in.
  • Disambiguate slice
  • Turn on Unity builds for the Windows CI

inline is a bit of the wrong thing to use, but it allows us to
make a minimally invasive change to prevent the ODR violation.
flex_helpers.h and ref_pickle_double_buffered.h don't have include guards.
Fix this by adding a header in DIALS specifically to #include them guarded.
@ndevenish ndevenish merged commit fd956c9 into dials:main Mar 7, 2023
@ndevenish ndevenish deleted the unity branch March 7, 2023 15:24
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.

None yet

1 participant