Opened 4 years ago

Closed 4 years ago

#62544 closed defect (fixed)

gr37-specest: C++11 compiler required; enable C++11 mode in your compiler, or use an earlier version of Armadillo

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: cjones051073 (Chris Jones)
Port: gr37-specest

Description

https://build.macports.org/builders/ports-11_x86_64-builder/builds/24681/steps/install-port/logs/stdio

/opt/local/include/armadillo_bits/compiler_check.hpp:50:4: error: "*** C++11 compiler required; enable C++11 mode in your compiler, or use an earlier version of Armadillo"
  #error "*** C++11 compiler required; enable C++11 mode in your compiler, or use an earlier version of Armadillo"
   ^

Adding the -std=c++11 flag to configure.cxxflags might be all that's needed.

Change History (1)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cjones051073 added
Resolution: fixed
Status: assignedclosed

Apparently it actually requires C++17. [e19b2dc447696fd610ee876d38a3705e9c6b0949/macports-ports]

Note: See TracTickets for help on using tickets.