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

Some compilation environments provide implicit inclusion of certain system 
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