evaleev / libint

Libint: high-performance library for computing Gaussian integrals in quantum mechanics
Other
227 stars 95 forks source link

Cygwin: compile error in comp_xyz.cc #85

Closed zosrothko closed 6 years ago

zosrothko commented 6 years ago

Hi

Building libint under Cygwin, got the following compiple error

clang++ -O2  -std=c++11 -I. -I/cygdrive/c/Users/fandre/Documents/git/psi4/build/external/upstream/libint/libint_external-prefix/src/libint_external/src/bin/libint -DHAVE_CONFIG_H  -D__COMPILING_LIBINT2=1 -I../../../src/bin -I../../../include -I/cygdrive/c/Users/fandre/Documents/git/psi4/build/external/upstream/libint/libint_external-prefix/src/libint_external/src/bin/libint/../../../include -I/cygdrive/c/Users/fandre/Documents/git/psi4/build/external/upstream/libint/libint_external-prefix/src/libint_external/src/bin/libint/../../../src/bin   -c -o comp_xyz.o comp_xyz.cc
comp_xyz.cc:49:8: error: expected unqualified-id
  auto _X = factory_X.make_child(a.norm() + a.deriv().norm(),b.norm() + b.deriv().norm());
       ^
/usr/include/ctype.h:66:12: note: expanded from macro '_X'
#define _X      0100
                ^
comp_xyz.cc:88:8: error: expected unqualified-id
  auto _X = factory_X.make_child(a[CartesianAxis_X],b[CartesianAxis_X]);
       ^
/usr/include/ctype.h:66:12: note: expanded from macro '_X'
#define _X      0100