So I'm taking the recommended approach of ifdef'ing out the code that depends on the gcc-array initializer ( ... ), using
#if __GNUC__
#endif
around any code that uses the ... array-initialization extension. This has resulted in me having to ifdef out quite a bit of code from rpmio/set.c, including
So I'm taking the recommended approach of ifdef'ing out the code that depends on the gcc-array initializer ( ... ), using
#if __GNUC__
#endif
around any code that uses the ... array-initializ ation extension. This has resulted in me having to ifdef out quite a bit of code from rpmio/set.c, including
char_to_num base62_ golomb (it uses char_to_num and word_to_num) base62_ golomb)
decode_base62 (it uses char_to_num)
word_to_num
decode_
decode_set (it uses decode_base62 and decode_
cache_decode_set (it uses decode_set)
test_set (it uses decode_set)
and, problematically,
rpmsetCmp (it uses cache_decode_set and decode_set)
That becomes a problem, because rpmds.c from lib/librpm needs rpmsetCmp.
At this point I'm stuck. I'm not certain what could be done to replace the call to rpmsetCmp from rpmds.c