Opened 6 years ago

Closed 6 years ago

#55251 closed defect (fixed)

wxWidgets-3.0-cxx11: fails to build on 10.5; 'vector' does not name a type

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc: kencu (Ken), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: wxWidgets-3.0-cxx11

Description

Not sure if this is worth fixing (I might declare it 'wontfix'), but just in case there's a trivial solution ...

wxWidgets in C++11 flavour fails to build on 10.5/ppc

/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:115:4: error: 'vector' does not name a type
    vector unsigned int         v;
    ^

https://build.macports.org/builders/ports-10.5_ppc_legacy-builder/builds/45087/

Change History (2)

comment:1 Changed 6 years ago by kencu (Ken)

it just needed the -faltivec flag to complete the build. I'll open a PR.

comment:2 Changed 6 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

In 6e92d1ce22899ea2f58e9d28ff96f79fafe869b0/macports-ports:

wxWidgets-3.0-cxx11: fix build on PPC

add missing -faltivec flag on suitable systems
closes: #55251

Note: See TracTickets for help on using tickets.