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

Patrick Hunt updated ZOOKEEPER-184:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed revision 704667.

> tests: An explicit include derective is needed for the usage of memcpy(), 
> memset(), strlen(), strdup() and free() functions.
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-184
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-184
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>         Environment: Linux
>            Reporter: Maxim P. Dementiev
>            Assignee: Maxim P. Dementiev
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-184.patch
>
>
> Some compilation environments provide implicit inclusion of certain system 
> headers.
> But any way it's not a reason to exploit it in platform-independent projects.
> TestHashtable.cc and LibCMocks.h from src/c/tests/ use those functions 
> without including corresponding system headers.
> Modern versions of GCC are very strict.
> You cannot build the code like this with the help of GCC version 4.3.

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

Reply via email to