build issue: '\0' vs. NULL
Command-line operators for netCDF and HDF files
Brought to you by:
zender
With newer gcc compilers you are not allowed any more to confuse '\0' and NULL:
[ 207s] fmc_all_cls.cc: In member function 'var_sct vlist_cls::atoi_fnd(bool&, std::vector<antlr::astrefcount\<antlr::ast> >&, fmc_cls&, ncoTree&)':
[ 207s] fmc_all_cls.cc:4174:21: error: invalid conversion from 'char' to 'char</antlr::astrefcount\<antlr::ast>' [-fpermissive]
[ 207s] char pend='\0';
[ 207s] ^~~~
[ 207s] fmc_all_cls.cc:4193:21: error: invalid conversion from 'char' to 'char' [-fpermissive]
[ 207s] char *pend='\0';
[ 207s] ^~~~
Bah, need to quote this as code, so it does not get mangled (stars get deleted otherwise):
Thank you for the patch. It has been merged. cz
the provided patch fixed the problem and the fix will be in 4.6.8