-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Add include cstdint explicitly #11594
Conversation
✅ Deploy Preview for meta-velox canceled.
|
@@ -17,6 +17,7 @@ | |||
#pragma once | |||
|
|||
#include <string> | |||
#include <cstdint> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, the includes should be ordered alphabetically. This PR does the same: #11352
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That PR should be active. But nonetheless this is ok and perhaps better to have separated out into two PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
@@ -17,6 +17,7 @@ | |||
#pragma once | |||
|
|||
#include <string> | |||
#include <cstdint> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That PR should be active. But nonetheless this is ok and perhaps better to have separated out into two PRs.
@majetideepak FYI. |
@kagamiori has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@kagamiori merged this pull request in c13b8ed. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Description:
Without the explicit include, it throws error with gcc 13.2 on Ubuntu 24.04.
The fix is to specify it explicitly.