Opened 5 months ago
Last modified 7 weeks ago
#70211 assigned defect
ncpp does not respect MacPorts compiler settings
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | ncpp |
Description
https://github.com/NCAR/ncpp/issues/2
Build fails:
---> Building ncpp Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0" && /opt/local/bin/scons OPT_PREFIX=/opt/local scons: Reading SConscript files ... Loading eol_scons from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0/site_scons/eol_scons... Searching for tool_*.py files... Found 1 tool files, caching is disabled. Config files: ['/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0/config.py'] Checking for netcdf linking...yes scons: done reading SConscript files. scons: Building targets ... g++ -o raf/ACconfig.o -c -g -Wall -std=c++11 -Wno-write-strings -Wno-deprecated-register -g -Wall -Wno-write-strings -DPNG -I. -I/opt/local/include raf/ACconfig.cc cc1plus: error: unrecognized command line option "-Wno-deprecated-register" cc1plus: error: unrecognized command line option "-std=c++11" scons: *** [raf/ACconfig.o] Error 1 scons: building terminated because of errors.
It also fails if I set compiler.cxx_standard 2011
, because it just ignores compiler settings.
Attachments (1)
Change History (2)
Changed 5 months ago by barracuda156
comment:1 Changed 7 weeks ago by mf2k (Frank Schima)
Owner: | mf2k deleted |
---|
Note: See
TracTickets for help on using
tickets.
I no longer maintain this port.