[ 
https://issues.apache.org/jira/browse/HADOOP-19551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946432#comment-17946432
 ] 

Masatake Iwasaki commented on HADOOP-19551:
-------------------------------------------

{noformat}
[WARNING] 
/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/include/hdfspp/uri.h:60:3:
 error: ‘uint16_t’ does not name a type
[WARNING]    60 |   uint16_t get_port() const;
[WARNING]       |   ^~~~~~~~
[WARNING] 
/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/include/hdfspp/uri.h:25:1:
 note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
[WARNING]    24 | #include <vector>
[WARNING]   +++ |+#include <cstdint>
[WARNING]    25 | #include <stdexcept>
...
{noformat}


> Fix compilation error of native libraries on newer GCC
> ------------------------------------------------------
>
>                 Key: HADOOP-19551
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19551
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Major
>
> Building with {{-Pnative}} by using GCC 14 on Fedora 40 failed due to 
> incompatible changes of GCC.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to