[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-libunistring] static variable 'bidi_class_names' is used in an inli
From: |
Jack Howarth |
Subject: |
[bug-libunistring] static variable 'bidi_class_names' is used in an inline function with external linkage |
Date: |
Sat, 4 Apr 2015 16:53:54 -0400 |
The 0.9.4 and 0.9.5 libunistring releases produce a number of warnings
of the form...
In file included from ../../lib/unictype/bidi_byname.c:25:
./unictype/bidi_byname.gperf:97:28: warning: static variable
'bidi_class_names' is used in an inline function with external linkage
[-Wstatic-in-inline]
register int o = bidi_class_names[key].name;
^
./unictype/bidi_byname.gperf:83:1: note: use 'static' to give inline
function 'uc_bidi_class_lookup' internal linkage
__inline
^
static
when compiled with the Apple clang 6.0 compilers on
x86_64-apple-darwin14. These warnings are suppressed with the attached
patch.
Jack
libunistring2.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-libunistring] static variable 'bidi_class_names' is used in an inline function with external linkage,
Jack Howarth <=