Opened 9 years ago
Last modified 8 years ago
#49609 closed defect
nco@4.5.2_2 build failure 10.9.5 clang++ doesn't like floating point NCO_GSL_MINOR_VERSION — at Initial Version
Reported by: | gnurser (George Nurser) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | takeshi@… | |
Port: | nco |
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
Note: See
TracTickets for help on using
tickets.
log file