Cygwin: error compiling USERS-MISC???

Hi,
I'm trying to build the USER-MISC package using Cygwin environment but always get the same error message :

mpicxx -O -DLAMMPS_GZIP -DLAMMPS_JPEG -DMPICH_IGNORE_CXX_SEEK -DFFT_FFTW -I/cygdrive/c/cygwin/usr/local/include -I/cygdrive/c/cygwin/usr/include -c pair_hybrid.cpp
In file included from style_pair.h:60:0,
                 from pair_hybrid.cpp:19:
pair_meam_spline.h:115:31: error: expected ‘,’ or ‘...’ before numeric constant
pair_meam_spline.h: In member function ‘void LAMMPS_NS::PairMEAMSpline::SplineFunction::init(int)’:
pair_meam_spline.h:117:34: error: ‘_deriv0’ was not declared in this ambit
pair_meam_spline.h:118:34: error: ‘_derivN’ was not declared in this ambit
Makefile:96: recipe for target `pair_hybrid.o' failed
make[1]: *** [pair_hybrid.o] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin/lammps-21sep12/src/Obj_cygwin'
Makefile:75: recipe for target `cygwin' failed
make: *** [cygwin] Error 2

I would really appreciate some help

best,

Eric Romero

I don't see that problem with either g++ or Intel icc.
What underlying compiler is mpicxx using on your box?

Steve

Dear Steve,

The mpicxx script is using CXX="g++-4" as compiler definition.

Thanks a lot for your quick response.

Eric Romero

I'm using g++ 4.4.5 and don't see the problem.
Does anyone else see this issue with src/USER-MISC/pair_mean_spline.h ??
I don't recognize the error.

Steve