[ https://issues.apache.org/jira/browse/HDFS-10578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353299#comment-15353299 ]
James Clampffer commented on HDFS-10578: ---------------------------------------- For the URI library I think we do; we don't have any real control over what's going on there and things that are actually errors will still fail the build. I traced through the code that's complaining about discarding the const qualifier and what it does is safe just not great in terms of casting. Ideally we would only silence the warnings about excessive inline and const but I couldn't get the flag that was supposed to handle silencing discarded const qualifiers working so I went with this approach. The other option would be applying a patch with proper casts (and possibly trying to push it upstream to the URI parsing people) but I don't have enough time or experience with the URI lib to do that in the short term. > libhdfs++: Silence compile warnings from URI parser > --------------------------------------------------- > > Key: HDFS-10578 > URL: https://issues.apache.org/jira/browse/HDFS-10578 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client > Reporter: James Clampffer > Assignee: James Clampffer > Attachments: HDFS-10578.HDFS-8707.000.patch > > > The URI parser is calling free on buffers that are const qualified and gcc > complains. It had already been complaining about some other stuff that we > had a flag for, I'd like to just add a "-w" flag to silence everything. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org