Remove Many Uses of ace/pre.h
and ace/post.h
#4123
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some headers used
pre.h
withoutpost.h
which leakspragma pack (push, 8)
into the code using those headers. Even if this was fixed, it's not clear what is gained by using these headers, except maybe improved ABI compatibility, in case the alignment changed somehow. OpenDDS doesn't guarantee ABI compatibility at all though, so this seems like this doesn't do anything for us. Instead of using these headers inconsistently, remove them everywhere except for the libraries that consistently use them, the modeling and the QoS XML libraries.Also made some tweaks to the lint script:
check_for_pre_and_post
ACE check for the remaining cases ofpre.h
andpost.h
.$ACE_ROOT
by treating it as a candidate instead of automatically accepting it.