So, I tried to build Openchange 2.3 with Samba 4.1.8 and got such error:

testsuite/libmapiproxy/openchangedb_multitenancy.c:1456:39: warning:
‘idx_2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  ret = openchangedb_table_get_property(g_mem_ctx, g_oc_ctx, table_2,
                                       ^
testsuite/libmapiproxy/openchangedb_multitenancy.c:1452:39: warning: ‘idx’
may be used uninitialized in this function [-Wmaybe-uninitialized]
  ret = openchangedb_table_get_property(g_mem_ctx, g_oc_ctx, table,
                                       ^
In file included from testsuite/testsuite.h:29:0,
                 from testsuite/libmapiproxy/openchangedb_logger.c:22:
testsuite/libmapiproxy/openchangedb_logger.c:113:12: warning:
‘test_call_get_mapistoreURI’ defined but not used [-Wunused-function]
 START_TEST(test_call_get_mapistoreURI) {
            ^
testsuite/libmapiproxy/openchangedb_logger.c:121:12: warning:
‘test_call_set_mapistoreURI’ defined but not used [-Wunused-function]
 START_TEST(test_call_set_mapistoreURI) {
            ^
testsuite/libmapiproxy/openchangedb_logger.c:128:12: warning:
‘test_call_get_parent_fid’ defined but not used [-Wunused-function]
 START_TEST(test_call_get_parent_fid) {
            ^
testsuite/libmapiproxy/openchangedb_logger.c:136:12: warning:
‘test_call_get_fid’ defined but not used [-Wunused-function]
 START_TEST(test_call_get_fid) {
            ^
testsuite/libmapiproxy/openchangedb_logger.c:144:12: warning:
‘test_call_get_MAPIStoreURIs’ defined but not used [-Wunused-function]
 START_TEST(test_call_get_MAPIStoreURIs) {
            ^
testsuite/libmapiproxy/openchangedb_logger.c:152:12: warning:
‘test_call_get_ReceiveFolder’ defined but not used [-Wunused-function]
 START_TEST(test_call_get_ReceiveFolder) {
            ^
testsuite/libmapiproxy/openchangedb_logger.c: In function
‘ocdb_logger_setup’:
testsuite/libmapiproxy/openchangedb_logger.c:635:14: warning: ‘backend_ctx’
may be used uninitialized in this function [-Wmaybe-uninitialized]
  mapi_status = openchangedb_logger_initialize(mem_ctx, 1, ">>> ",
backend_ctx, &oc_ctx);
              ^

The same error was when I did it with Samba 4.3.0.

Is it normall while building with Samba 4.1.8 ?
_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to