Opened 8 years ago

Closed 8 years ago

#52021 closed defect (fixed)

armadillo @7.400.1: #error "*** Need a newer compiler ***"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: snowleopard Cc: ChristianFrisson (Christian Frisson)
Port: armadillo

Description

armadillo fails to build on Snow Leopard, saying it needs a newer compiler:

[ 50%] Building CXX object CMakeFiles/armadillo.dir/src/wrapper.cpp.o
/Developer/usr/bin/g++-4.2   -Darmadillo_EXPORTS -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_dports_science_armadillo/armadillo/work/build/tmp/include  -pipe -Os  -O2 -DNDEBUG -arch i386 -mmacosx-version-min=10.6 -fPIC   -o CMakeFiles/armadillo.dir/src/wrapper.cpp.o -c /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_dports_science_armadillo/armadillo/work/armadillo-7.400.1/src/wrapper.cpp
In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_dports_science_armadillo/armadillo/work/armadillo-7.400.1/src/wrapper.cpp:24:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_dports_science_armadillo/armadillo/work/build/tmp/include/armadillo_bits/compiler_setup.hpp:162:6: error: #error "*** Need a newer compiler ***"

Old incompatible compilers should be added to compiler.blacklist, and MacPorts will choose a different one.

Change History (1)

comment:1 Changed 8 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: newclosed

It took a bit of experimentation, as I wasn't too familiar with the compiler.blacklist, but r151421 seems to have fixed this.

Note: See TracTickets for help on using tickets.