[Difx-users] Merge of "reduce-warnings" branch into dev

Walter Brisken wbrisken at nrao.edu
Mon Jan 26 18:29:38 EST 2026


Hi DiFX folks,

Today I merged a branch called "reduce-warnings" into the dev branch of 
DiFX.  The dev branch is where changes are being collected for inclusion 
in the next DiFX release (which at this point is not yet planned).  The 
purpose of this branch was to eliminate a number of compiler warnings 
and also increase the robustness of the code against over-long strings 
and out-of-range array indices.  Also some archaic "C" language 
constructs have been modernized.  The code has been compiled and tested 
using gcc 8.5.0 (on RedHat Enterprise Linux 8) and gcc 15.2.1 (on Arch 
Linux).

I encourage anyone running DiFX or its utilities compiled from the dev 
branch to be aware of any unwanted changes.  Most likely they would 
result in unexpected string shortening and may come with a warning such 
as: "Warning: String truncation (22 >= 9) at 
/home/swc/software/WFBDIFX-GIT/src/difx2fits/src/jobmatrix.c line 170" .

Please report any such issues to me or to the list.

Happy new year!

Walter



More information about the Difx-users mailing list