You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2008/10/14 18:47:44 UTC
[jira] Assigned: (ZOOKEEPER-184) tests: An explicit include
derective is needed for the usage of memcpy(), memset(), strlen(), strdup()
and free() functions.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-184:
--------------------------------------
Assignee: Maxim P. Dementiev
> 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
> 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.