This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new 45cea1054 fix(c++): issue 3229 - compile error on gcc16 (#3230)
45cea1054 is described below
commit 45cea10544d8153c115ebcd8257a54143d545ba4
Author: xffish <[email protected]>
AuthorDate: Tue Jan 27 23:21:11 2026 +0800
fix(c++): issue 3229 - compile error on gcc16 (#3230)
## Why?
compile error on gcc16
## What does this PR do?
Add `#include <cstdint>` to cpp/fory/util/error.h to fix compilation
error where uint32_t was undeclared in Error::type_mismatch() method.
## Related issues
- Fixes #3229
## Does this PR introduce any user-facing change?
No
- [ ] Does this PR introduce any public API change?
No
- [ ] Does this PR introduce any binary protocol compatibility change?
No
## Benchmark
No need
---
cpp/fory/util/error.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpp/fory/util/error.h b/cpp/fory/util/error.h
index 357e9f783..879db9840 100644
--- a/cpp/fory/util/error.h
+++ b/cpp/fory/util/error.h
@@ -19,6 +19,7 @@
#pragma once
+#include <cstdint>
#include <memory>
#include <ostream>
#include <string>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]