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)

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 3.0.0alpha2
    • Component/s: Proxy (P), Server (S)
    • Labels:
    • Environment:
      trunk r55129
      gcc 4.8.1

      Description

      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();
           ^
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: