Fix gcc-8 warnings
commite26e0599181ac8f7ba17c23e2cd04665349e14af
authorPaul Bauer <paul.bauer.q@gmail.com>
Fri, 23 Nov 2018 12:57:13 +0000 (23 13:57 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 28 Nov 2018 21:27:15 +0000 (28 22:27 +0100)
tree55deebc716da281dc9a405abacbff3ca7d7716da
parent87a698a30ebd6d5c2f437d74c0455c51cbc96e95
Fix gcc-8 warnings

Changed copying of temporary file names to use gmx::Path, changed
copying of C character arrays to use std::copy. Annotated code where
safer string copying was needed.

Did not try to fix the warnings in tng.

Fixes #2683

Change-Id: I431b55dfa39a654fb9f20a78470f190da7666993
src/gromacs/fileio/checkpoint.cpp
src/gromacs/gmxana/gmx_tune_pme.cpp
src/gromacs/gmxana/gmx_wham.cpp
src/gromacs/gmxpreprocess/gen_vsite.cpp