Giter VIP home page Giter VIP logo

Comments (1)

eero-t avatar eero-t commented on June 5, 2024

Compared to #3969, I've added few extra warning options (+ _FORTIFY_SOURCE), GCC version is newer (13.2 in F38, instead of 11.2 in F35), and I've installed all the dependencies found in Fedora, resulting in much shorter list of plugins not being compiled:

    epics . . . . . . . . no (pkg-config could not find epics-base)
    intel mic . . . . . . no (MicAccessApi not found)
    libaquaero5 . . . . . no (libaquaero5.h not found)
    libganglia  . . . . . no (rpc/types.h not found)
    libiptc . . . . . . . no (pkg-config doesn't know libiptc)
    libjevents  . . . . . no (jevents.h not found)
    libkstat  . . . . . . no (Solaris only)
    libnetapp . . . . . . no (netapp_api.h not found)
    libperfstat . . . . . no (AIX only)
    libpmwapi . . . . . . no (pmw_api.h not found)
    libpqos . . . . . . . no (pqos.h not found)
    librouteros . . . . . no (routeros_api.h not found)
    libsigrok   . . . . . no (pkg-config could not find libsigrok)
    libslurm .  . . . . . no (pkg-config doesn't know libslurm)
    libtokyotyrant  . . . no (tcrdb.h not found)
    oracle  . . . . . . . no (ORACLE_HOME is not set)
    aquaero . . . . . . . no (libaquaero5.h not found)
    dcpmm  . . . . . .  . no (pmw_api.h not found)
    epics . . . . . . . . no (pkg-config could not find epics-base)
    gmond . . . . . . . . no (rpc/types.h not found)
    intel_pmu . . . . . . no (jevents.h not found)
    intel_rdt . . . . . . no (pqos.h not found)
    iptables  . . . . . . no (pkg-config doesn't know libiptc)
    lpar  . . . . . . . . no (AIX only)
    mic . . . . . . . . . no (MicAccessApi not found)
    netapp  . . . . . . . no (netapp_api.h not found)
    oracle  . . . . . . . no (ORACLE_HOME is not set)
    perl  . . . . . . . . no (needs libperl)
    redfish . . . . . . . no (redfish.h not found)
    routeros  . . . . . . no (routeros_api.h not found)
    sigrok  . . . . . . . no (pkg-config could not find libsigrok)
    slurm . . . . . . . . no (pkg-config doesn't know libslurm)
    tokyotyrant . . . . . no (tcrdb.h not found)

PS. If one adds also -Wpendantic option, there are these additional warnings:

$ diff -ub build.txt build-pedantic.txt| grep '^+.*warning:' | sed -e 's/:[0-9]\+:[0-9]\+:/:/' -e 's/\[-Wpedantic\]//' | cut -b6- | sort | uniq -c
     11 daemon/plugin.c: warning: ISO C forbids assignment between function pointer and ‘void *’ 
      9 daemon/plugin.c: warning: ISO C forbids conversion of function pointer to object pointer type 
      2 daemon/plugin.c: warning: ISO C forbids initialization between function pointer and ‘void *’ 
      4 daemon/utils_time.h: warning: ISO C++ forbids compound-literals 
      2 dpdkevents.c: warning: ISO C does not support '__FUNCTION__' predefined identifier 
      2 dpdkstat.c: warning: ISO C does not support '__FUNCTION__' predefined identifier 
      1 dpdk_telemetry.c: warning: ISO C does not support '__FUNCTION__' predefined identifier 
      2 grpc.cc: warning: C++ designated initializers only available with '-std=c++20' or '-std=gnu++20' [-Wc++20-extensions]
      1 java.c: warning: ISO C forbids assignment between function pointer and 'void *' 
      1 java.c: warning: ISO C forbids conversion of function pointer to object pointer type 
     15 java.c: warning: ISO C forbids initialization between function pointer and 'void *' 
      2 mcelog.c: warning: ISO C does not support '__FUNCTION__' predefined identifier 
     12 mdevents.c: warning: ISO C does not support '__FUNCTION__' predefined identifier 
      3 mdevents.c: warning: ISO C forbids empty initializer braces before C2X 
      1 processes.c: warning: ISO C forbids empty initializer braces before C2X 
      1 python.c: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'PyObject *' {aka 'struct _object *'} [-Wformat=]
      8 python.c: warning: ISO C forbids conversion of function pointer to object pointer type 
      1 python.c: warning: ISO C forbids conversion of object pointer to function pointer type 
      1 smart.c: warning: ISO C forbids empty initializer braces before C2X 
     12 snmp.c: warning: embedding a directive within macro arguments is not portable
     34 utils/dpdk/dpdk.c: warning: ISO C does not support '__FUNCTION__' predefined identifier 
      6 utils/dpdk/dpdk.h: warning: ISO C does not support '__FUNCTION__' predefined identifier 
      1 utils/format_kairosdb/format_kairosdb.c: warning: unknown escape sequence: '\{'
      6 utils/ovs/ovs.c: warning: ISO C does not support '__FUNCTION__' predefined identifier

from collectd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.