Skip to content

ORC-1549: [C++] Update libhdfspp.tar.gz by adding #include <cstdint> - #1685

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:ORC-1549
Closed

ORC-1549: [C++] Update libhdfspp.tar.gz by adding #include <cstdint>#1685
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:ORC-1549

Conversation

@dongjoon-hyun

Copy link
Copy Markdown
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.

@dongjoon-hyundongjoon-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
Copy Markdown
MemberAuthor

Could you review this, @wgtmac ?

@wgtmacwgtmac left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

Thank you, @wgtmac .

@dongjoon-hyundongjoon-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`.
Closesapache#1685 from dongjoon-hyun/ORC-1549.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for freeto 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

@dongjoon-hyun@wgtmac