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

Maxim P. Dementiev updated ZOOKEEPER-184:
-----------------------------------------

    Attachment: ZOOKEEPER-184.patch

The patch is obvious: include corresponding system header.

> 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
>         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.

-- 
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