Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1165

SerialUtils.hh: __PRETTY_FUNCTION__ is a GNU extension and not portable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      SerialUtils.hh uses _PRETTY_FUNCTION_ to print the name of the function during an assertion. That is a GNU extension and is not portable across compilers. [C99 defines __func__, which should probably be used instead.]

      1. MAPREREDUCE-1165.patch
        0.5 kB
        Allen Wittenauer

        Activity

          People

          • Assignee:
            Allen Wittenauer
            Reporter:
            Allen Wittenauer
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development