Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2042

Require c99 when building libhdfs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • libhdfs
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: