Fixes for clang 11
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 16 Oct 2020 07:24:56 +0000 (07:24 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Fri, 16 Oct 2020 07:24:56 +0000 (07:24 +0000)
Keeps the build free of warnings about the missing commas
that affected the word spacing in the docs.

src/gromacs/gmxana/gmx_chi.cpp
src/gromacs/gmxana/gmx_rama.cpp
src/gromacs/gmxana/gmx_wheel.cpp
src/gromacs/gmxpreprocess/x2top.cpp

index 21be848c9861e8f7a2459cdfdc7aaf2bd43a0f8d..c30d7e641d61fd4e1668b4e998d8ece1b046e2f0 100644 (file)
@@ -1318,7 +1318,7 @@ int gmx_chi(int argc, char* argv[])
         "This causes (usually small) discrepancies with the output of other "
         "tools like [gmx-rama].",
         "[TT]-r0[tt] option does not work properly",
-        "Rotamers with multiplicity 2 are printed in [TT]chi.log[tt] as if they had "
+        "Rotamers with multiplicity 2 are printed in [TT]chi.log[tt] as if they had ",
         "multiplicity 3, with the 3rd (g(+)) always having probability 0"
     };
 
index e73381376d0495c7c784045e754aedc2398b63fc..f0646dabd08da529609be953cfc8eb1d5817d344 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2017,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2017,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -67,10 +67,9 @@ static void plot_rama(FILE* out, t_xrama* xr)
 int gmx_rama(int argc, char* argv[])
 {
     const char* desc[] = {
-        "[THISMODULE] selects the [GRK]phi[grk]/[GRK]psi[grk] dihedral combinations from "
-        "your topology file",
-        "and computes these as a function of time.",
-        "Using simple Unix tools such as [IT]grep[it] you can select out", "specific residues."
+        "[THISMODULE] selects the [GRK]phi[grk]/[GRK]psi[grk] dihedral combinations from ",
+        "your topology file and computes these as a function of time.",
+        "Using simple Unix tools such as [IT]grep[it] you can select out specific residues."
     };
 
     FILE*             out;
index a2a0c38f1ffc76943efc2a827158b1af73e5b6b6..dbb5514dd03df56fca5ad6b5d135e02e369dac08 100644 (file)
@@ -217,8 +217,7 @@ int gmx_wheel(int argc, char* argv[])
     const char* desc[] = {
         "[THISMODULE] plots a helical wheel representation of your sequence.",
         "The input sequence is in the [REF].dat[ref] file where the first line contains",
-        "the number of residues and each consecutive line contains a residue "
-        "name."
+        "the number of residues and each consecutive line contains a residue name."
     };
     gmx_output_env_t* oenv;
     static real       rot0  = 0;
index ed4c0284b389ed1569e3940cecbd6225b58fba5f..826c875a1a6fdb7896c122a3b8f034211fc2c955 100644 (file)
@@ -383,7 +383,7 @@ int gmx_x2top(int argc, char* argv[])
     const char* bugs[] = {
         "The atom type selection is primitive. Virtually no chemical knowledge is used",
         "Periodic boundary conditions screw up the bonding", "No improper dihedrals are generated",
-        "The atoms to atomtype translation table is incomplete ([TT]atomname2type.n2t[tt] file in "
+        "The atoms to atomtype translation table is incomplete ([TT]atomname2type.n2t[tt] file in",
         "the data directory). Please extend it and send the results back to the GROMACS crew."
     };
     FILE*                                 fp;