Opened 7 years ago

Closed 7 years ago

#54209 closed defect (fixed)

icu @58.2_1: error: invalid use of non-static data member

Reported by: dliessi (Davide Liessi) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard leopard tiger Cc: Schamschula (Marius Schamschula), rlhamil, vike2000
Port: icu

Description

icu @58.2_1 fails to build on 10.6.8 with

:info:build utext.cpp: In function ‘UBool utf8TextAccess(UText*, int64_t, UBool)’:
:info:build utext.cpp:898: error: invalid use of non-static data member ‘UTF8Buf::mapToUChars’
:info:build utext.cpp:1325: error: from this location

See the buildbot for a full log.

Change History (7)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newassigned

comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snowleopard leopard tiger added
Status: assignedaccepted
Summary: icu @58.2_1: "error: invalid use of non-static data member" on Mac OS 10.6.8icu @58.2_1: error: invalid use of non-static data member

I think I have a fix for this.

comment:4 Changed 7 years ago by kencu (Ken)

FYI, I have my default compiler set to clang-3.9 as per the LibcxxOnOlderSystems instructions, and with that icu @58.2.1 installed on 10.6.8 without any intervention.

$ port -v installed icu
The following ports are currently installed:
  icu @58.2_1 (active) platform='darwin 10' archs='x86_64' date='2017-05-23T07:13:41-0700'

comment:5 Changed 7 years ago by rlhamil

Cc: rlhamil added

comment:6 Changed 7 years ago by vike2000

Cc: vike2000 added

comment:7 Changed 7 years ago by Ryan Schmidt <git@…>

Resolution: fixed
Status: acceptedclosed

In 195b30a6e716508a15901dcc0e0817d5a44b0500/macports-ports:

icu: Help old compilers that can't compute sizeof(UTF8Buf::mapToUChars)

Closes: #54209

Note: See TracTickets for help on using tickets.