Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

This PR aims to add #include <cstdint> to libhdfspp.tar.gz.

$ diff -r before after
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/content_summary.h ./tmp/include/hdfspp/content_summary.h
20a21
> #include <cstdint>
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/fsinfo.h ./tmp/include/hdfspp/fsinfo.h
20a21
> #include <cstdint>
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/statinfo.h ./tmp/include/hdfspp/statinfo.h
20a21
> #include <cstdint>
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/uri.h ./tmp/include/hdfspp/uri.h
21a22
> #include <cstdint>

Why are the changes needed?

To fix a compilation error in GNU C/CXX compiler: 13.2.0 environment.

How was this patch tested?

Manually compile with GNU C/CXX compiler: 13.2.0.

@github-actions github-actions bot added the CPP label Dec 7, 2023
@dongjoon-hyun dongjoon-hyun changed the title ORC-1549: Update libhdfspp.tar.gz by adding #include <cstdint> ORC-1549: [C++] Update libhdfspp.tar.gz by adding #include <cstdint> Dec 7, 2023
@dongjoon-hyun
Copy link
Member Author

Could you review this, @wgtmac ?

Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@dongjoon-hyun
Copy link
Member Author

Thank you, @wgtmac .

@dongjoon-hyun dongjoon-hyun added this to the 2.0.0 milestone Dec 7, 2023
@dongjoon-hyun dongjoon-hyun deleted the ORC-1549 branch December 7, 2023 16:11
cxzl25 pushed a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
### What changes were proposed in this pull request?

This PR aims to add `#include <cstdint>` to `libhdfspp.tar.gz`.

```
$ diff -r before after
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/content_summary.h ./tmp/include/hdfspp/content_summary.h
20a21
> #include <cstdint>
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/fsinfo.h ./tmp/include/hdfspp/fsinfo.h
20a21
> #include <cstdint>
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/statinfo.h ./tmp/include/hdfspp/statinfo.h
20a21
> #include <cstdint>
diff --color -r /Users/dongjoon/APACHE/orc-merge/c++/libs/libhdfspp/tmp/include/hdfspp/uri.h ./tmp/include/hdfspp/uri.h
21a22
> #include <cstdint>
```

### Why are the changes needed?

To fix a compilation error in `GNU C/CXX compiler: 13.2.0` environment.

### How was this patch tested?

Manually compile with `GNU C/CXX compiler: 13.2.0`.

Closes apache#1685 from dongjoon-hyun/ORC-1549.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants