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

Fix some include warnings in JITServer #20719

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjjdespres
Copy link
Contributor

These headers mention certain types but do not include the relevant headers for them. This does not yet cause a compilation error because all of their use sites are coincidentally only after those headers have been included.

@cjjdespres
Copy link
Contributor Author

Attn @mpirvu. Just a small change to avoid some warnings I've been getting. I also removed an unused include in Communication.hpp at the same time.

@@ -26,7 +26,7 @@
#include <unistd.h>
#include "net/LoadSSLLibs.hpp"
#include "net/Message.hpp"
#include "infra/Statistics.hpp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Statistics.hpp is still needed for

#if defined(MESSAGE_SIZE_STATS)
   static TR_Stats _msgSizeStats[MessageType::MessageType_MAXTYPE];
#endif /* defined(MESSAGE_SIZE_STATS) */

@mpirvu mpirvu self-assigned this Nov 29, 2024
@mpirvu mpirvu added the comp:jitserver Artifacts related to JIT-as-a-Service project label Nov 29, 2024
These headers mention certain types but do not include the relevant
headers for them. This does not yet cause a compilation error because
all of their use sites are coincidentally only after those headers have
been included.

Signed-off-by: Christian Despres <[email protected]>
@mpirvu
Copy link
Contributor

mpirvu commented Nov 30, 2024

jenkins compile all jdk8,jdk23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:jitserver Artifacts related to JIT-as-a-Service project
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants