Build error for iconv_modules on sparc

Review Request #1378 - Created Jan. 17, 2019 and submitted

Information
Peter Tribble
illumos-gate
10259
Reviewers
general
Building on sparc gives many:

In file included from ../common/UTF-8_TO_ISO-2022-JP.c:32:
../common/jfp_iconv_unicode.h: In function '_icv_reset_unicode':
../common/jfp_iconv_unicode.h:677: error: unused variable 'state' [-Wunused-vari
able]

Looking at the code, there's no big-endian path.

With the fix applied, build on sparc completes without error.

John Levon
Toomas Soome
Andrew Stormont
Gergő Mihály Doma
Peter Tribble
Review request changed

Status: Closed (submitted)

Loading...