biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f1c8e
)
Narrow scope of ICC compiler work-around
author
Roland Schulz
<roland.schulz@intel.com>
Tue, 2 Oct 2018 02:15:23 +0000
(19:15 -0700)
committer
Roland Schulz
<roland.schulz@intel.com>
Tue, 2 Oct 2018 02:17:50 +0000
(19:17 -0700)
Only Update 0 is affected. Neither 2017 or 2019 is.
Change-Id: Id29125e4f77709cf60e73c7708a3b80ba50b93be
src/gromacs/compat/pointers.h
patch
|
blob
|
history
diff --git
a/src/gromacs/compat/pointers.h
b/src/gromacs/compat/pointers.h
index 53955d26d832726c07cf97752c79c96960944d9f..403918ce34aba114bb97a23bb45a731ecab11c79 100644
(file)
--- a/
src/gromacs/compat/pointers.h
+++ b/
src/gromacs/compat/pointers.h
@@
-61,7
+61,7
@@
namespace compat
//! Contract-assurance macros that work like a simple version of the GSL ones
//! \{
-#if
ndef __INTEL_COMPILER
+#if
!defined(__INTEL_COMPILER) || !(__INTEL_COMPILER == 1800 && __INTEL_COMPILER_UPDATE == 0)
#define Expects(cond) GMX_ASSERT((cond), "Precondition violation")
#define Ensures(cond) GMX_ASSERT((cond), "Postcondition violation")
#else