Snippets for nco 5.3.2 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/00nrxnhgprkc4dbr01nixxlymnn1kkxg-nco-5.3.2.drv.
-
nco_flt.c:330:37: warning: '%s' directive argument is null [-Wformat-overflow=] 330 | (void)fprintf(stderr,"%s: ERROR %s reports supplied filter string is empty\n",nco_prg_nm_get(),flt_sng); | ^~ -
nco_grp_utl.c:2763:134: warning: '%s' directive argument is null [-Wformat-overflow=] 2763 | if(nco_dbg_lvl_get() >= nco_dbg_std) (void)fprintf(stdout,"%s: INFO %s value of HDF-EOS5 standard global attribute \"%s\" is \"%s\"\n",nco_prg_nm_get(),fnc_nm,att_sng_he5,att_xtn_val); | ^~ -
nco_grp_utl.c:2780:132: warning: '%s' directive argument is null [-Wformat-overflow=] 2780 | if(nco_dbg_lvl_get() >= nco_dbg_std) (void)fprintf(stdout,"%s: INFO %s value of netCDF standard global attribute \"%s\" is \"%s\"\n",nco_prg_nm_get(),fnc_nm,att_sng_nc,att_xtn_val); | ^~ -
nco_pck.c:160:88: warning: '%s' directive argument is null [-Wformat-overflow=] 160 | (void)fprintf(stderr,"%s: ERROR %s reports empty user-specified packing map string %s\n",nco_prg_nm,fnc_nm,nco_pck_map_sng); | ^~ -
nco_prn.c:1649:53: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] 1649 | (void)sprintf(var_sng,"%%s%c%%ld--%%ld%c='%s' %%s",arr_lft_dlm,arr_rgt_dlm,dmn_sng); | ^~ ~~~~~~~ -
nco_rgr.c:4323:113: warning: '%s' directive argument is null [-Wformat-overflow=] 4323 | if(nco_rgr_mth_typ == nco_rgr_mth_nil) (void)fprintf(stdout,"%s: WARNING %s reports map global attribute %s = %s does not match SCRIP/ESMF conventions that support only values of \"Conservative\" and \"Bilinear\" for this attribute. Proceeding anyway...\n",nco_prg_nm_get(),fnc_nm,cnv_sng,att_val); | ^~ -
nco_sng_utl.c:270:41: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 270 | snprintf(chr_out_ptr,4,"\\%%%.2x",*chr_in_ptr); | ^ -
nco_sng_utl.c:466:41: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 466 | snprintf(chr_out_ptr,4,"\\%%%.2x",*chr_in_ptr); | ^ -
ncecat.c:801:30: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 3 [-Wformat-overflow=] 801 | sprintf(grp_out_sfx,"%02d",fl_idx); | ^~~~ -
fmc_all_cls.cc:1965:60: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1965 | snprintf(units_new_sng,NCO_MAX_LEN_DATE_SNG,"days since %d-01-01 00:00:00",lcl_tm_sct.year); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~