Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Add missing header files #3227

Merged
merged 3 commits into from
Sep 6, 2022
Merged

Add missing header files #3227

merged 3 commits into from
Sep 6, 2022

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Jun 9, 2022

Some header files are proposed for removal from sdf/Param.hh in gazebosim/sdformat#1044. While testing that branch with gazebo11, I noticed some compilation failures in files that use objects without including the associated header file. I've added missing header files for many ignition/math/* includes in c20bb21. It is more than enough to fix compilation, though it is not fully exhaustive.

I made two other small changes as well:

  • d51a7de: fix a spelling error
  • d5f9d42: replace inclusion of ignition/math.hh in two .cc files with the specific math header files that are needed to reduce compilation time. Since these are .cc files, there should not be an effect on any downstream code.

scpeters added 3 commits June 8, 2022 16:15
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Include specific math headers instead of math.hh
to speed up compilation.

Signed-off-by: Steve Peters <[email protected]>
@scpeters
Copy link
Member Author

gazebosim/sdformat#1044 has been closed, but these changes are still valid, so I will leave this open for review

@j-rivero
Copy link
Contributor

j-rivero commented Sep 6, 2022

gazebosim/sdformat#1044 has been closed, but these changes are still valid, so I will leave this open for review

Missed the original discussion but Louise was right about not removing a header from an stable released series of sdformat.

The PR looks good to me, CI is happy, I'm happy too.

@j-rivero
Copy link
Contributor

j-rivero commented Sep 6, 2022

There is a problem on Windows conda-forge but I'm pretty sure it is not related to this PR.

@j-rivero j-rivero merged commit 92f1b42 into gazebo11 Sep 6, 2022
@j-rivero j-rivero deleted the scpeters/missing_math_includes branch September 6, 2022 17:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants