Fix gcc-8 warnings about strings
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 27 Sep 2018 18:41:49 +0000 (20:41 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 1 Oct 2018 18:08:41 +0000 (20:08 +0200)
commit40f1c8eaa2bfa37f7c28d55262d3af7daac1b967
tree68bc76bd98682c6a87d7bfb4df3fdef9cdfc0d0b
parent8433aa26a0cc854a30b205a3605af79155ade31f
Fix gcc-8 warnings about strings

A bunch of slightly risky string handling is now safer or simpler.

Refs #2645

Change-Id: I0e02a34ecf7be16135e406ba2aaefab8a6e6ba39
48 files changed:
cmake/gmxCFlags.cmake
src/gromacs/CMakeLists.txt
src/gromacs/awh/read-params.cpp
src/gromacs/essentialdynamics/edsam.cpp
src/gromacs/ewald/pme-load-balancing.cpp
src/gromacs/fileio/checkpoint.cpp
src/gromacs/fileio/groio.cpp
src/gromacs/fileio/pdbio.cpp
src/gromacs/fileio/readinp.cpp
src/gromacs/fileio/readinp.h
src/gromacs/fileio/warninp.cpp
src/gromacs/fileio/warninp.h
src/gromacs/fileio/xvgr.cpp
src/gromacs/gmxana/gmx_anadock.cpp
src/gromacs/gmxana/gmx_chi.cpp
src/gromacs/gmxana/gmx_covar.cpp
src/gromacs/gmxana/gmx_density.cpp
src/gromacs/gmxana/gmx_densorder.cpp
src/gromacs/gmxana/gmx_hydorder.cpp
src/gromacs/gmxana/gmx_make_ndx.cpp
src/gromacs/gmxana/gmx_traj.cpp
src/gromacs/gmxana/gmx_trjconv.cpp
src/gromacs/gmxana/gmx_tune_pme.cpp
src/gromacs/gmxana/gmx_wham.cpp
src/gromacs/gmxana/powerspect.cpp
src/gromacs/gmxpreprocess/fflibutil.cpp
src/gromacs/gmxpreprocess/grompp.cpp
src/gromacs/gmxpreprocess/pdb2top.cpp
src/gromacs/gmxpreprocess/readpull.cpp
src/gromacs/gmxpreprocess/readrot.cpp
src/gromacs/gmxpreprocess/solvate.cpp
src/gromacs/gmxpreprocess/specbond.cpp
src/gromacs/gmxpreprocess/toppush.cpp
src/gromacs/mdlib/mdebin.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdrun/logging.cpp
src/gromacs/mdrunutility/handlerestart.cpp
src/gromacs/mdtypes/inputrec.cpp
src/gromacs/utility/fatalerror.cpp
src/gromacs/utility/fatalerror.h
src/gromacs/utility/futil.cpp
src/gromacs/utility/futil.h
src/gromacs/utility/niceheader.cpp
src/gromacs/utility/path.cpp
src/gromacs/utility/path.h
src/gromacs/utility/sysinfo.cpp
src/gromacs/utility/sysinfo.h
src/gromacs/utility/tests/path.cpp