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 compilation under linux for int32_t #3257

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

Conversation

alexander-smyslov
Copy link

Fix compilation under linux && gcc

/mnt/d/vcpkg/vcpkg/buildtrees/avro-cpp/src/ase-1.12.0-9c954b550d.clean/lang/c++/include/avro/LogicalType.hh:51:5: error: 'int32_t' does not name a type
51 | int32_t precision() const { return precision_; }
| ^~~~~~~
/mnt/d/vcpkg/vcpkg/buildtrees/avro-cpp/src/ase-1.12.0-9c954b550d.clean/lang/c++/include/avro/LogicalType.hh:25:1: note: 'int32_t' is defined in header ''; did you forget to '#include '?
24 | #include "Config.hh"
+++ |+#include
25 |
/mnt/d/vcpkg/vcpkg/buildtrees/avro-cpp/src/ase-1.12.0-9c954b550d.clean/lang/c++/include/avro/LogicalType.hh:52:19: error: 'int32_t' has not been declared
52 | void setScale(int32_t scale);

@github-actions github-actions bot added the C++ Pull Requests for C++ binding label Dec 6, 2024
@alexander-smyslov
Copy link
Author

@martin-g
Copy link
Member

martin-g commented Dec 9, 2024

could someone explain why the CI checks pass even without this change ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Pull Requests for C++ binding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants