Unverified Commit 64b682b9 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

library compilation fix for clang with exceptions and -DLAMMPS_BIGBIG

parent 083841ab
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
@@ -811,7 +811,8 @@ void lammps_gather_atoms(void *ptr, char * /*name */,

  BEGIN_CAPTURE
  {
    lmp->error->all(FLERR,"Library function lammps_gather_atoms() not compatible with -DLAMMPS_BIGBIG");
    lmp->error->all(FLERR,"Library function lammps_gather_atoms() "
                    "is not compatible with -DLAMMPS_BIGBIG");
  }
  END_CAPTURE
}
@@ -950,7 +951,10 @@ void lammps_gather_atoms_concat(void *ptr, char * /*name */,
  LAMMPS *lmp = (LAMMPS *) ptr;

  BEGIN_CAPTURE
  lmp->error->all(FLERR,"Library function lammps_gather_atoms_concat() not compatible with -DLAMMPS_BIGBIG");
  {
    lmp->error->all(FLERR,"Library function lammps_gather_atoms_concat() "
                    "is not compatible with -DLAMMPS_BIGBIG");
  }
  END_CAPTURE
}
#else
@@ -1107,7 +1111,10 @@ void lammps_gather_atoms_subset(void *ptr, char * /*name */,
  LAMMPS *lmp = (LAMMPS *) ptr;

  BEGIN_CAPTURE
  lmp->error->all(FLERR,"Library function lammps_gather_atoms_subset() not compatible with -DLAMMPS_BIGBIG");
  {
    lmp->error->all(FLERR,"Library function lammps_gather_atoms_subset() "
                    "is not compatible with -DLAMMPS_BIGBIG");
  }
  END_CAPTURE
}
#else
@@ -1253,7 +1260,10 @@ void lammps_scatter_atoms(void *ptr, char * /*name */,
  LAMMPS *lmp = (LAMMPS *) ptr;

  BEGIN_CAPTURE
  lmp->error->all(FLERR,"Library function lammps_scatter_atoms() not compatible with -DLAMMPS_BIGBIG");
  {
    lmp->error->all(FLERR,"Library function lammps_scatter_atoms() "
                    "is not compatible with -DLAMMPS_BIGBIG");
  }
  END_CAPTURE
}
#else
@@ -1379,7 +1389,10 @@ void lammps_scatter_atoms_subset(void *ptr, char * /*name */,
  LAMMPS *lmp = (LAMMPS *) ptr;

  BEGIN_CAPTURE
  lmp->error->all(FLERR,"Library function lammps_scatter_atoms_subset() not compatible with -DLAMMPS_BIGBIG");
  {
    lmp->error->all(FLERR,"Library function lammps_scatter_atoms_subset() "
                    "is not compatible with -DLAMMPS_BIGBIG");
  }
  END_CAPTURE
}
#else