You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/07/16 00:48:49 UTC

[jira] [Resolved] (HDFS-2042) Require c99 when building libhdfs

     [ https://issues.apache.org/jira/browse/HDFS-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe resolved HDFS-2042.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0-beta

The stuff this JIRA talks about is fixed in branch-2 and trunk.  We don't use autotools any more so we don't need these macros, and {{hdfs.c}} is not under {{src/c++/libhdfs/hdfs.c}} any more.

If there is some specific platform that requires more or different CFLAGS to build, let's open a JIRA for that when we encounter it.
                
> Require c99 when building libhdfs
> ---------------------------------
>
>                 Key: HDFS-2042
>                 URL: https://issues.apache.org/jira/browse/HDFS-2042
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: libhdfs
>            Reporter: Eli Collins
>            Priority: Minor
>             Fix For: 2.1.0-beta
>
>
> Per the discussion in HDFS-1619, libhdfs uses some c99 features, therefore we should use compile with c99 standard flags (eg c99 or gnu99 when using gcc) when building it. We could do this with autotools via AC_PROG_CC_C99 (which requires a more recent autotools) or by setting CLFAGS in src/c++/libhdfs/configure. We should perhaps rename src/c++ to src/c while we're at it since libhdfs is not written in c++ and libhdfs is the only subdirectory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira