[
https://issues.apache.org/jira/browse/HDFS-13534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468007#comment-16468007
]
James Clampffer commented on HDFS-13534:
----------------------------------------
Thanks for looking at this [~anatoli.shein]. I attached a new patch. The npm
stuff wasn't supposed to be part of this; I comment that out on my working tree
because container builds always seem to hang there for some reason.
I'm not able to reproduce the override warning you're seeing, what
compiler/version are you using? Right now I think the important part is to get
functional included since that breaks the build. The warnings fixed here are
the ones I was able to hit when using clang in the docker container.
> libhdfs++: Fix GCC7 build
> -------------------------
>
> Key: HDFS-13534
> URL: https://issues.apache.org/jira/browse/HDFS-13534
> Project: Hadoop HDFS
> Issue Type: Task
> Reporter: James Clampffer
> Assignee: James Clampffer
> Priority: Major
> Attachments: HDFS-13534.000.patch, HDFS-13534.001.patch
>
>
> After merging HDFS-13403 [~pifta] noticed the build broke on some platforms.
> [~bibinchundatt] pointed out that prior to gcc 7 mutex, future, and regex
> implicitly included functional. Without that implicit include the compiler
> errors on the std::function in ioservice.h.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]