Project

General

Profile

Bug #380

invsqrt overlaps with icc namespace

Added by Chris Neale almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Erik Lindahl
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

./../include/vec.h(152): warning #147: declaration is incompatible with "double invsqrt(double)" (declared at line 635 of "/opt/sharcnet/intel/11.0.083/icc/include/math.h")
static inline real invsqrt(real x)

As originally described here:

http://lists.gromacs.org/pipermail/gmx-users/2009-June/042360.html

I don't suspect that this is actually causing any problems, but it's hard to get sysadmins to take one seriously when one provides them with any files that contain the word 'warning'

History

#1 Updated by Erik Lindahl almost 10 years ago

Hi Chris,

This has actually already been fixed in the head branch. Since it's not a direct gromacs bug (it's not a reserved C or C++ word) we didn't touch the release branch.

#2 Updated by Chris Neale almost 10 years ago

Thank you Erik,

a fix in cvs and not the release branch for now seems like a good solution. I only posted to ensure that this didn't get forgotten.

Also available in: Atom PDF