Bug 14289 - OmniOS compile warning about ARRAY_SIZE
Summary: OmniOS compile warning about ARRAY_SIZE
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.12.0rc3
Hardware: All Other
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-21 21:57 UTC by Peter Eriksson
Modified: 2020-02-21 21:57 UTC (History)
0 users

See Also:


Attachments
Patch to fix compiler warning about ARRAY_SIZE (474 bytes, text/plain)
2020-02-21 21:57 UTC, Peter Eriksson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Eriksson 2020-02-21 21:57:48 UTC
Created attachment 15813 [details]
Patch to fix compiler warning about ARRAY_SIZE

OmniOS already have a #define ARRAY_SIZE in <sys/sysmacros.h>, the one in lib/replace/replace.h causes a gazillion compiler warnings while building.

The attached patch fixes this.