| Summary: | arts-1.5.10/libltdl/ltdl.c: 2893: bad macro ? | ||
|---|---|---|---|
| Product: | [I don't know] kde | Reporter: | dcb314 |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
KDE3 is no longer maintained by KDE developers. I suggest to report this issue to Trinity developers via https://bugs.trinitydesktop.org/describecomponents.cgi?product=TDE See also https://www.trinitydesktop.org/ |
Recent versions of gcc say this: ltdl.c:2893:34: warning: division 'sizeof (lt_caller_data * {aka struct <anonymous> *}) / sizeof (lt_caller_data {aka struct <anonymous>})' does not compute the number of array elements [-Wsizeof-pointer-div] Source code is #define N_ELEMENTS(a) (sizeof(a) / sizeof(*(a))) and the call sites are like this: n_elements = N_ELEMENTS (handle->caller_data);