This only happen if you have GMX_X11=ON
Change-Id: I6d8d82985c88d2fb03bfaafc0afa32f0c3483803
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
#include <algorithm>
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/topology/index.h"
#include <algorithm>
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/topology/index.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/dir_separator.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/dir_separator.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
char tmpfile[STRLEN];
int i, j, k, len, tlen, ht, ncol, nrow, x0;
char tmpfile[STRLEN];
int i, j, k, len, tlen, ht, ncol, nrow, x0;
+ len = std::strlen(title);
for (i = 0; (i < (int)gmx->filter->grps->nr); i++)
{
for (i = 0; (i < (int)gmx->filter->grps->nr); i++)
{
- len = std::max(len, (int)strlen(gmx->filter->grpnames[i]));
+ len = std::max(len, static_cast<int>(std::strlen(gmx->filter->grpnames[i])));
{
ht = 1+(gmx->filter->grps->nr+1)*2+3;
}
{
ht = 1+(gmx->filter->grps->nr+1)*2+3;
}
- strcpy(tmpfile, "filterXXXXXX");
+ std::strcpy(tmpfile, "filterXXXXXX");
gmx_tmpnam(tmpfile);
#ifdef DEBUG
fprintf(stderr, "file: %s\n", tmpfile);
gmx_tmpnam(tmpfile);
#ifdef DEBUG
fprintf(stderr, "file: %s\n", tmpfile);