Page MenuHomeFreeBSD

lib/libc/locale/xlocale_private.h compile warning fixes
Needs ReviewPublic

Authored by aprieger_llnw.com on Jun 9 2017, 4:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 24, 6:06 AM
Unknown Object (File)
Apr 21 2025, 5:28 AM
Unknown Object (File)
Apr 21 2025, 5:23 AM
Unknown Object (File)
Apr 20 2025, 2:29 PM
Unknown Object (File)
Apr 20 2025, 5:09 AM
Unknown Object (File)
Apr 2 2025, 2:18 AM
Unknown Object (File)
Mar 2 2025, 12:10 PM
Unknown Object (File)
Jan 29 2025, 7:44 AM
Subscribers
None

Details

Reviewers
kbowling
sbruno
Summary

warning fixes for the header file lib/libc/locale/xlocale_private.h that is compiled with a few warnings, and is used multiple times across the usr.bin/localedef application

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9756
Build 10195: arc lint + arc unit

Event Timeline

Changelog:
Pre-fix warnings are at: https://gist.github.com/aprieger-llnw/1abe4dd00d141096e9d6135586d4926c

  1. cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
    • warning: passing 'long *' to parameter of type 'volatile u_long *' (aka 'volatile unsigned long *') converts between pointers to integer types with different sign [-Wpointer-sign]
      • fix: added the explicit modifier (volatile u_long *) to the parameter one lines 147 and 169