[gmx-developers] invsqrt declaration warning

Jochen Hub jochen at xray.bmc.uu.se
Fri Nov 27 10:04:33 CET 2009


I am getting a warning when compiling the latest git gromacs on that system:

Linux neolith1 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:12:36 EST 2009 
x86_64 x86_64 x86_64 GNU/Linux

The problem comes from an invsqrt declaration by the intel compiler:

../../include/vec.h(152): warning #147: declaration is incompatible with 
"double invsqrt(double)" (declared at line 623 of 
  static inline real invsqrt(real x)

Probably it will not cause errors, but you never know. Possibly it would 
make sense to rename invsqrt to gmx_invsqrt or similar?



Dr. Jochen Hub
Molecular Biophysics group
Dept. of Cell & Molecular Biology
Uppsala University. Box 596, 75124 Uppsala, Sweden.
Phone: +46-18-4714451 Fax: +46-18-511755

More information about the gromacs.org_gmx-developers mailing list