Build error for iconv_modules on sparc

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

ptribble
illumos-gate
10259
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.

jlevon
  1. Ship It!
  2. 
      
tsoome
  1. Ship It!
  2. 
      
andy_js
  1. Ship It!
  2. 
      
domag02
  1. Ship It!
  2. 
      
ptribble
Review request changed

Status: Closed (submitted)

Loading...