Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9814

compilation warnings (call to function without a real prototype)

XMLWordPrintable

      checks_internal.c: In function ‘get_value_internal’:
      checks_internal.c:98:3: warning: call to function ‘DCget_item_count’ without a real prototype [-Wunprototyped-calls]
         SET_UI64_RESULT(result, DCget_item_count(0));
         ^
      In file included from checks_internal.h:24:0,
                       from checks_internal.c:21:
      ../../../include/dbcache.h:380:5: note: ‘DCget_item_count’ was declared here
       int DCget_item_count();
           ^
      checks_internal.c:108:3: warning: call to function ‘DCget_item_unsupported_count’ without a real prototype [-Wunprototyped-calls]
         SET_UI64_RESULT(result, DCget_item_unsupported_count(0));
         ^
      In file included from checks_internal.h:24:0,
                       from checks_internal.c:21:
      ../../../include/dbcache.h:381:5: note: ‘DCget_item_unsupported_count’ was declared here
       int DCget_item_unsupported_count();
           ^
      checks_internal.c:264:4: warning: call to function ‘DCget_item_count’ without a real prototype [-Wunprototyped-calls]
          SET_UI64_RESULT(result, DCget_item_count(item->host.hostid));
          ^
      In file included from checks_internal.h:24:0,
                       from checks_internal.c:21:
      ../../../include/dbcache.h:380:5: note: ‘DCget_item_count’ was declared here
       int DCget_item_count();
           ^
      checks_internal.c:275:4: warning: call to function ‘DCget_item_unsupported_count’ without a real prototype [-Wunprototyped-calls]
          SET_UI64_RESULT(result, DCget_item_unsupported_count(item->host.hostid));
          ^
      In file included from checks_internal.h:24:0,
                       from checks_internal.c:21:
      ../../../include/dbcache.h:381:5: note: ‘DCget_item_unsupported_count’ was declared here
       int DCget_item_unsupported_count();
           ^
      

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: