Bug 382723 - arts-1.5.10/libltdl/ltdl.c: 2893: bad macro ?
Summary: arts-1.5.10/libltdl/ltdl.c: 2893: bad macro ?
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-25 18:08 UTC by dcb314
Modified: 2017-07-25 18:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcb314 2017-07-25 18:08:47 UTC
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);
Comment 1 Christoph Feck 2017-07-25 18:32:52 UTC
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/