Comments (1)
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)
- Unable to download tar gz from http://collectd.org/files/collectd-{{collectd_version}}.tar.gz HOT 1
- Export collectd API
- memory plugin: Metrics to not sum up to a stable physical memory size. HOT 7
- interface plugin no values returned on Solaris 11.4 (Patch included) HOT 1
- [collectd 6] Compiler warnings for collectd core with stricter compilation options HOT 3
- Incorrect diskstat value wrap up calculations for 64-bit platforms in disk plugin HOT 1
- "README.md" vs. "configure" output mismatches HOT 2
- Disk plug-in failed to load and plug-in interface did not register for value uniquename HOT 4
- [collectd 6] Missing "StoreRates" support for "write_http" plugin (regression from v5)
- Disk plug-in failed to load and plug-in interface did not register for value uniquename -- after upgraded to 5.12 we got the same issue HOT 3
- [collectd 6] write_prometheus handles resource attributes incorrectly. HOT 15
- There should be an error when resource attributes uniqueness assumption is violated
- Add support for headers on open_telemetry exporter plugin HOT 1
- Online documentation: add linkable anchors to headings HOT 2
- MQTT plugin: option to disable unix timestamps on values. HOT 1
- smart plugin and NVME
- Build fails on MacOS HOT 1
- Perl.c fails to compile with clang
- Please use pkg-config instead of libgcrypt-config to locate libgcrypt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collectd.