Opened 6 years ago

Closed 6 years ago

#56402 closed defect (fixed)

git-crypt: error: unrecognized command line option "-std=c++11"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nareshov (Naresh V.)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: git-crypt

Description

On Leopard:

/usr/bin/g++-4.2 -Wall -pedantic -Wno-long-long -O2 -std=c++11   -c -o commands.o commands.cpp
cc1plus: error: unrecognized command line option "-std=c++11"

Perhaps use the cxx11 1.1 portgroup?

The port also needs to use the right -arch flags, and if possible add a universal variant.

Unfortunately I cannot notify the maintainer because they have only listed their GitHub handle, and it is not known to Trac.

Change History (1)

comment:1 Changed 6 years ago by nareshov (Naresh V.)

Resolution: fixed
Status: assignedclosed

In f544bd5b8a2a9bb180face81cd196d674e6d2320/macports-ports (master):

git-crypt: use cxx11 1.1 PortGroup

Closes: #56402

Note: See TracTickets for help on using tickets.