[MacPorts] #49609: nco at 4.5.2_2 build failure 10.9.5 clang++ doesn't like floating point NCO_GSL_MINOR_VERSION
MacPorts
noreply at macports.org
Fri Nov 6 06:40:15 PST 2015
#49609: nco at 4.5.2_2 build failure 10.9.5 clang++ doesn't like floating point
NCO_GSL_MINOR_VERSION
------------------------+-----------------------
Reporter: gnurser@… | Owner: takeshi@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: nco |
------------------------+-----------------------
Description changed by mf2k@…:
Old description:
> /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco
> -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include
> -I/usr/include/malloc -I/opt/local/include/udunits2 -I/opt/local/include
> -DENABLE_NETCDF4 -I/opt/local/include -I/opt/local/include
> -I/opt/local/include -I/opt/local/include/udunits2 -pipe -Os -arch
> x86_64 -stdlib=libc++ -c -o NcapVar.o NcapVar.cc
>
> fails with errors
> e.g.
> ../../config.h:416:31: note: expanded from macro 'NCO_GSL_MINOR_VERSION'
> :info:build #define NCO_GSL_MINOR_VERSION 2.0
> :info:build ^
> :info:build fmc_gsl_cls.cc:134:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 9
New description:
{{{
/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../.. -I./ -I../nco
-I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include
-I/usr/include/malloc -I/opt/local/include/udunits2 -I/opt/local/include
-DENABLE_NETCDF4 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -I/opt/local/include/udunits2 -pipe -Os -arch x86_64
-stdlib=libc++ -c -o NcapVar.o NcapVar.cc
}}}
fails with errors
e.g.
{{{
../../config.h:416:31: note: expanded from macro 'NCO_GSL_MINOR_VERSION'
:info:build #define NCO_GSL_MINOR_VERSION 2.0
:info:build ^
:info:build fmc_gsl_cls.cc:134:6: error: floating point literal in
preprocessor expression
:info:build # if NCO_GSL_MINOR_VERSION >= 9
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/49609#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list