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 Version 2

Reported by: gnurser (George Nurser) Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: nco

Description (last modified by mf2k (Frank Schima))

/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 

Change History (3)

Changed 9 years ago by gnurser (George Nurser)

Attachment: main.log added

log file

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: takeshi@… removed
Owner: changed from macports-tickets@… to takeshi@…
Port: nco added

In the future, please use WikiFormatting and fill in the Port field.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.