Ever since compiling LAMMPS on cygwin, I had to manually patch two
variables in pair_meam headers in order to get it compiled on
cygwin/64.
src\pair_meam_spline.h
77: void init(int _N, double _deriv0, double _derivN) {
N = _N;
to
77: void init(int _N_, double _deriv0, double _derivN) {
N = _N_;
and
src\pair_meam_sw_spline.h:
77: void init(int _N, double _deriv0, double _derivN) {
N = _N;
to
77: void init(int _N_, double _deriv0, double _derivN) {
N = _N_;
Aside from beeing a non-standard compliant name, there
is a macro of that name in /CygWin/usr/include/ctype.h
which reads:
35: #define _N 04
which seems to be the fun killer here. Maybe someone
could please improve the variable naming in order to
make it easier for the cygwin users?
Thank you in advance
M.