hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1165) SerialUtils.hh: __PRETTY_FUNCTION__ is a GNU extension and not portable
Date Mon, 02 Nov 2009 20:05:59 GMT

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

Allen Wittenauer updated MAPREDUCE-1165:
----------------------------------------

    Status: Patch Available  (was: Open)

> SerialUtils.hh: __PRETTY_FUNCTION__ is a GNU extension and not portable
> -----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1165
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1165
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Allen Wittenauer
>         Attachments: MAPREREDUCE-1165.patch
>
>
> 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.]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message